I\'m trying to convert a floating point number to binary representation; how can I achieve this? My goal is, however, not to be limited by 2m so I\'m hoping for something th
If you want to convert a float to a string with d digits after the decimal radix point:
base**d.. character d digits before the end.For example, to represent 0.1 in base 12 with 4 decimal dozenal places,
124A0.124A