Amazon Interview Question

To write a no. Decimal in a string