juno.locale.convert Module

Licence
See licence.txt for use and distribution terms.

string toString(T)(T value, string format = null, IFormatProvider provider = null);

Converts the specified value to its equivalent string representation.

T parse(T)(string s, NumberStyles style = NumberStyles.None, IFormatProvider provider = null);

Converts a string representation of a number to its numeric equivalent.

bool tryParse(T)(string s, out T result, NumberStyles style = NumberStyles.None, IFormatProvider provider = null);

Converts a string representation of a number to its numeric equivalent. The return value indicates whether the conversion succeeded or failed.