Closed RobChaferDID closed 7 months ago
Heynote, like most programming languages, use .
as decimal character no matter you locale. The ,
character is used as separator in arrays and matrices.
You can use the new ability to change the formatting function to make a Math block that gives all results in hex (or another number system). Just start the block off with this:
_format = format
format(x) = _format(x, {notation:"hex"})
Screenshot:
Your maths sections can do 'normal' maths. I can type in 0xe0000 and it will show the decimal (although it shows 57.344 when my locale would suggest 57,344). However, I can't type in 57344 and see the hex or binary for it. It would also be nice to do bit operations: 0xe0000^56 for example (for xor).