Can't get math module to generate hexadecimal values

Looks like Make only implemented a subset of the math.js library, for the format function they decided to restrict it to only auto/exponential/fixed.

According to the library documentation, the full set also includes engineering/bin/oct/hex, which is not implemented/allowed by Make.

This could also be a bug, in which case you should report it as such.

2 Likes