traba5058 Posted November 6, 2014 Share Posted November 6, 2014 I hope someone can help me. One of my templates has a number with 2 decimal spaces. If the 2nd decimal is 0, it is dropping it. (Ex: 1.60 becomes 1.6). Is there a number format rule to always have the 2 decimal spaces? Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted November 6, 2014 Share Posted November 6, 2014 var theNumber = 1.60; return FormatNumber("0.00", theNumber); Quote Link to comment Share on other sites More sharing options...
traba5058 Posted November 6, 2014 Author Share Posted November 6, 2014 Thanks so much! Worked like a charm! have a great day! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.