nickOS Posted June 8, 2008 Share Posted June 8, 2008 I have a script to send an email when a certain function is performed. My problem is that some calculated number fields give me a number with too many decimals. How can I restrict it to give me the number with only 2 decimals or none at all ? I have formatted the number to 0 decimals but it is not working on the email body. thanks Link to comment Share on other sites More sharing options...
comment Posted June 8, 2008 Share Posted June 8, 2008 In the formula that calculates the e-mail body, use Round ( CalculationField ; 2 ) instead of CalculationField. If you mean you want a fixed number of decimals, see: http://www.fmforums.com/forum/showpost.php?post/257391/ Link to comment Share on other sites More sharing options...
nickOS Posted June 9, 2008 Author Share Posted June 9, 2008 I appreciate your help. It worked just fine. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 5799 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now