The string representation of the number.
The number of decimals to divide the number by.
Optionaldp: booleanWhether to use decimal places or not. If true, it will return the number with decimal places, otherwise it will return the number without decimal places.
The parsed number.
Parses a string representation of a number with a given number of decimals.