Tezt_tezos.TezHelpers for dealing with units of tez.
Please note that none of the functions here perform any bounds checks.
val of_int : int -> tMake t from the whole number of tez. This doesn't perform any bounds checks.
val of_mutez_int : int -> tMake t from the whole number of micro tez. This doesn't perform any bounds checks.
val of_mutez_int64 : int64 -> tMake t from the whole number of micro tez. This doesn't perform any bounds checks.
val zero : t0 tez
val one : t1 tez
val to_string : t -> stringConvert t to a string.
val mutez_int64 : t -> int64Convert t to a mutez integer.
val to_float : t -> floatConvert t to a float of tez.
val to_mutez : t -> intConvert t to an int.
val parse_floating : string -> tParsing. Parse a floating point number of tez.
Any string of digits followed by an optional point and another string of digits should parse successfully, provided that the expressed number is within bounds allowed for tez (up to 6 decimal places). For example: "123.4356" will parse, while "1.24723953794217492" won't, because it's too precise.
val typ : t Tezt_wrapper.Check.typThe tez Check.typ