Package typeutil provide useful type conversion functions. All numbers are considered base 10 int64 or float64.
IntToStr converts 'n' base 10 number to its string representation.
func StrToFloat ¶
StrToFloat converts 's' into its float64 form. 's' is expected to be a float in its string representation.
StrToInt converts 's' into its int64 form. 's' is expected to contain digits only.