ย ยทย CEO Overcom

mask for numerical texts

Resolved

Hello, the truth is that I have searched and tried everything but I can't show a text in a number format:

I have a decimal amount: 1.0000 comes from a json generated by an API that queries a MySQL DB

I want to show this in a text: Stock: 1.00

If I set 0 by default for null or empty ones, 0 is always output and otherwise I leave blank by default, I receive an error: Format Exception: 0.0000

1
3 replies