Vasilli
11-07-2003, 12:01 AM
Hi All
I am sure this is going to be such a simple thing!, but I have a bit of a problem with a script I wrote(calculator thing) that works out how much an order will be.
It is a form that is submitted and then the user is sent a confirmation of order email that will have something like this on it
10 paperclips @ $1.15 each $11.50
However, as the 11.50 has a trailing zero, it is taken off to produce
10 paperclips @ $1.15 each $11.5
is there a function/command that will treat all numbers in a money format(that does not require an add-on like the money_format()) one does.
Please help me.
Ta Jono
I am sure this is going to be such a simple thing!, but I have a bit of a problem with a script I wrote(calculator thing) that works out how much an order will be.
It is a form that is submitted and then the user is sent a confirmation of order email that will have something like this on it
10 paperclips @ $1.15 each $11.50
However, as the 11.50 has a trailing zero, it is taken off to produce
10 paperclips @ $1.15 each $11.5
is there a function/command that will treat all numbers in a money format(that does not require an add-on like the money_format()) one does.
Please help me.
Ta Jono