Function formatDecimalLocal( value, dp )

Description:
Turns a floating point value into a string using current locale settings. For instance if language is set to French, decimal points will be represented as a comma "," instead of a full stop ".". Otherwise behaves the same as the corresponding formatDecimal function.
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 formatDecimalLocal(double, int)