Link in Zwischenablage kopieren
Kopiert
How do you round a number to two decimal places?
numberformat()
Link in Zwischenablage kopieren
Kopiert
will output 12.36
Link in Zwischenablage kopieren
Kopiert
numberformat()
Link in Zwischenablage kopieren
Kopiert
Hi
Try this.Am assuming variable name as 'price'
#NumberFormat(price,'_____.__')#
or
#NumberFormat(price, "00.00")#
Link in Zwischenablage kopieren
Kopiert
Link in Zwischenablage kopieren
Kopiert
If only there was a big online listing of all the ColdFusion Display and Formatting Functions.
Link in Zwischenablage kopieren
Kopiert
Why? I mean... no-one would ever use it.
Apparently.
It's like you're suggesting people RTFM (Read The FREELY-AVAILABLE Manual ;-). It won't catch on.
I think the big problem here is that things are so difficult to find stuff on the Web. So how would people be able to find this freely-available manual? If only there was some sort of engine people could use to search for stuff. Then they could JFGI (Just Find Good Information).
Cough.
--
Adam
Link in Zwischenablage kopieren
Kopiert
If only there was some sort of engine people could use to search for stuff.
This is a ridiculous concept and will never catch on.