to_string


Description:

public string to_string ()

Converts the value to its equivalent string representation

Example: Double to string:

public static int main () {
double num = 0.123;
print ("%s\n", num.to_string ());
return 0;
}

valac --pkg glib-2.0 double.to_string.vala