https://bugs.freedesktop.org/show_bug.cgi?id=45952
--- Comment #6 from Lionel Elie Mamane <[email protected]> --- (In reply to comment #0) > Menu Format, Cells, tab Numbers, Category list: Binary and Hex > Binary should postpend a small 'b', hex should prepend a '0x'. IMHO the "binary" and "hexadecimal" format characters should not prepend anything by themselves; any constant string can be added in the format as such. E.g., if we make the "binary digit" format character "b" and the "hex digit" format character "x", then the effect you want to achieve can be had by: "b"b "0x"x But if one wants Ruby-compatible formatting, one can use: "0b"b "0x"x And if one wants "like Fortran", one can use: \B\"b\" \Z\"x\" Like ADA? Easy peasy: "2#"b\# "16#"x\# etc, etc. If we implement that, we could as well add octal (base 8) to the mix. Actually, we could take inspiration from Ada and just allow an arbitrary base in number formats... > Both should have "digit grouping" that is similar to decimal thousand > separator, but happen every 4 digit. Hmm... That's more difficult to achieve with my "arbitrary base" idea, but maybe this should also be arbitrarily configurable? <shrug> -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
