FmtInt

FmtInt :: struct {
    base: FmtIntBase;
    print_prefix: bool;
    v: Any;
}

Specify number printing format. Use fmt_int helper function to create instance of this type.

Members

base - Numeric base.

print_prefix - Prints prefix based on desired numeric base.

  • 0b for binary.

  • 0 for octal.

  • 0x for hexadecimal.

v - Printed value.

Declared in: print.bl