@{widget.value} in comment : displays a non-truncated value

I often use a comment on top of widgets to display the value of the widget.
The comment vlaue prop contains somathing like :
@{mySlider.value}

The comment used to display the value of the widget as it sent over OSC, respecting the "decimal" prop.
I've just upgraded from 1.15 o 1.16, and now I see that the displayed value is not truncated anymore.
Is that expected ?
SHould I use another script to display the value as it is sent over OSC ?
or is there a special syntax to limit / round displayed value to something more readable ?

thanks

example session :

comment value decimals issue.json (3.1 KB)

same issue when displaying widget value in the widget itself using its html prop :
@{this.value}

This a unexpected side effect of a recent change I made but I should be able to fix it. Using javascript you can round / truncate it:

JS{
return Math.round(@{mySlider} * 100) / 100 // 2 decimals
}

Thanks for the JS trick :slight_smile:
If you think you can "fix" it in a not-too-far future, that's fine, I can live with it (and avoid adding JS in all my widgets in all my sessions !)

v1.16.1 is uploading :wink: