Decimal

Format number to 2 decimal places
format(%. 2f, 1.23456); This will format the floating point number 1.23456 up-to 2 decimal places, because we have used two after decimal point in for...