One specific problem I encountered, that there seems to be no way to define a format for numbers in common library. All I need is to limit floating point precision in the output to 2 digits. The problem is that both
js do not have either
DecimalFormat, so I am not sure how to do it. For now, I declared an expected tooling function, which in JS returns number as-is, but it is not a solution.