• Resolved hgvprint

    (@hgvprint)


    Hi sorry, may i know how to change a long decimal into 2 decimal places ?
    I try to do like this but it didnt work..

    (# var Height=data.uni_nov_cpo_change_height_to_feet;
    if (Height){#}
    (Height.toFixed(2) ft {#}#)

Viewing 1 replies (of 1 total)
  • Plugin Author moomooagency

    (@moomooagency)

    Hi,

    Try this one.

    {# let height=data.uni_nov_cpo_change_height_to_feet; if (height) {height.toFixed(2)} #}
    height ft

Viewing 1 replies (of 1 total)

The topic ‘How to change into 2 decimal places in dynamic notice’ is closed to new replies.