Format a number with specified decimal places
Number to format
Number of decimal places
Formatted number string
Format a number with specified decimal places