add amount compare

This commit is contained in:
swrup 2026-03-03 10:45:39 +01:00
parent bcc940100a
commit 708be6279a
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