Hi Jeremy,
The Round function is working just fine. It's just that the value
returned does not include insignificant trailing zeroes when it's
converted to a string. You can see how this works if you test some
code like this:
return 2.5000;
When you validate this, it returns the string "2.5", regardless of
how many trailing zeroes you add.
If you want to show a specific number of digits, you need to use the
FormatNumber function. This also does the rounding for you. For
example:
return FormatNumber("0.00", 0.499999);
This returns "0.50".
So, just use FormatNumber with the "0.00" format string, instead of
Round with the 2 places, and it should work.
Dan
--
Users of FusionPro Desktop have unlimited free email support. Contact Printable
Support at [EMAIL PROTECTED]
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm
--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--
--
Note: All e-mail sent to or from this address will be received or otherwise
recorded by the e-mail recipients of this forum. It is subject to archival,
monitoring or review by, and/or disclosure to someone other than the recipient.
Our privacy policy is posted on www.printplanet.com
--