Display whole numbers

  • Profile Image
    Eye4udk
    Asked on January 07, 2022 at 08:51 AM

    When i calculate customer price in the form the price come as 122,0988 hos can i get it only to display 122 without ,0988

    1641561953_61d83f6154ef6_support.png

  • Profile Image
    Cecile_A
    Answered on January 07, 2022 at 08:58 AM

    Hi,

    You may use the round() function.

    Here's a sample:

    1641563840_61d846c0b7929_3.png1641563840_61d846c0ba4fc_4.png

    Let us know if you have any other concerns. 

    Thank you.