Change Number colour

Before 0.20 I was able to change the Number ux with style tag I have to format my string as 00 therefore I have to use number tag Is there anyway I can change the font colour of the number?

(As there are no properties of number allows me to change the font colour directly)


<Number /> has been deprecated in favour of using a regular <Text /> with formatting in JS instead.

how can I format the text as a number format in 00 format?

Check out the toFixed() method on numbers in JS

(1.2345).toFixed(); // 1 (1.2345).toFixed(2); // 1.23

There’s also toPrecision works a bit differently