Declaring the number of decimal points

sabzamsabzam Member Posts: 1,149
Dear All,

I have a decimal variable whose value is the result of a number of computations. This variable is displayed by using the Message () function. How do I declare the number of decimal points which are to be shown on the form?

Comments

  • bbrownbbrown Member Posts: 3,268
    Use the ROUND function.

    Example ROUND(YourValue, 0.01, '=');

    See C/Side help.
    There are no bugs - only undocumented features.
  • sabzamsabzam Member Posts: 1,149
    Ah Yes, I have completely forgotten about it. Thanks alot.
Sign In or Register to comment.