HTML Elements Forums Tank Changing the length of the value

This topic contains 1 reply, has 2 voices, and was last updated by  ivailo 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #99584

    hansT
    Participant

    Hello guys,
    how can i change the length of the value after the separator in ‘floatingPoint’ scale ? For example, if the value is 12.55555, i want to see only the last 2 digits after the point (e.g. 12.55).

    #99585

    ivailo
    Participant

    Hi hansT,

    You can achieve this by setting precisionDigits property to 2.

    <smart-tank precision-digits="2"></smart-tank>

    Best Regards,
    Ivailo Ivanov

    Smart HTML Elements Team
    https://www.htmlelements.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.