add amount compare

This commit is contained in:
swrup 2026-03-03 10:45:39 +01:00 committed by Swrup
parent 4bb62e369d
commit 76662bf23c
3 changed files with 11 additions and 10 deletions

View file

@ -16,6 +16,8 @@ val make :
fraction:Int32.t ->
(t, string) result
(* fail on differents currencies *)
val compare : t -> t -> int
val pp : Format.formatter -> t -> unit
val to_string : t -> string
val of_string : string -> (t, string) result