When you're coding against a deadline, you find the way to make something work and work securely, there's no time to play with other ways to accomplish the same things... Now here's the question...
I wanted to subtract half of an amount from a database:
doesn't work and I don't understand why... is there any way to subtract .5.
Never fear though! Its a bit longer but it does work.. the length is the whole reason I ask this question but...
does work perfectly..
Anyone do it diffrently... maybe a few less characters?
Tony
I wanted to subtract half of an amount from a database:
Code:
#Evaluate(sAmount - .5)#
Never fear though! Its a bit longer but it does work.. the length is the whole reason I ask this question but...
Code:
#Evaluate(sAmount - (1 / 2))#
Anyone do it diffrently... maybe a few less characters?
Tony