 =
= Brian Fries
Brian FriesHi
Can anyone tell me the best way to truncate a number using [format] rather =than having it round up/down.
Eg. I have 178.9964 as a value, and I need 178.99 as the outcome
Obviously using [format .2f][value][/format] will round this to 179.00, so =I need another method.
Thanks all,
| 
 | 
 =
= Brian Fries
Brian FriesHi
Can anyone tell me the best way to truncate a number using [format] rather =than having it round up/down.
Eg. I have 178.9964 as a value, and I need 178.99 as the outcome
Obviously using [format .2f][value][/format] will round this to 179.00, so =I need another method.
Thanks all,
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...