Function formatDecimal( value, dp )

Description:
Turns a floating point value into a string with a given number of decimal places using standard settings.
Parameters:
value (floating point)
value to format
dp (integer)
number of decimal places (digits after the decmal point)
Return Value (String):
formatted string
Examples:
Signature:
String formatDecimal(double, int)