expanded class MONEY General cluster: money description: "Efficient value type for handling money objects in dollars and cents, with precision and safety in plus and minus operators. See end of class for specification." create: make, make_with_float, make_from_int, default_create Ancestors COMPARABLE* DEBUG_OUTPUT* INTEGER_OVERFLOW Queries allocated (arg: INTEGER_32): MONEY_ARRAY allocated_by_ratios (ratios: NUM_ARRAY [INTEGER_32]): MONEY_ARRAY amount: FLOAT cents: INTEGER_64 comment (s: STRING_8): BOOLEAN divisible (other: FLOAT): BOOLEAN identity alias "+": MONEY is_equal (other: [like Current] MONEY): BOOLEAN is_greater alias ">" (other: [like Current] MONEY): BOOLEAN is_greater_equal alias ">=" (other: [like Current] MONEY): BOOLEAN is_less alias "<" (other: MONEY): BOOLEAN is_less_equal alias "<=" (other: [like Current] MONEY): BOOLEAN max (other: [like Current] MONEY): [like Current] MONEY Max_int: INTEGER_64 min (other: [like Current] MONEY): [like Current] MONEY Min_int: INTEGER_64 minus alias "-" (other: MONEY): MONEY one: [like Current] MONEY opposite alias "-": MONEY out: STRING_8 plus alias "+" (other: MONEY): MONEY product alias "*" (arg: FLOAT): MONEY quotient alias "/" (other: FLOAT): MONEY safe_minus (left, right: INTEGER_64): BOOLEAN safe_plus (left, right: INTEGER_64): BOOLEAN three_way_comparison (other: [like Current] MONEY): INTEGER_32 zero: [like Current] MONEY Constraints min max consistent amount
Generated by ISE EiffelStudio