The number-representation tag has no wiki summary.
16
votes
5answers
456 views
Is this the most efficient way to round approximate integers to integers while leaving other Reals untouched?
This might seem like an overly simple question, but I need to specify custom plot tick marks as integers (no trailing decimal point) if they are approximately integers, but not if they are not. Using ...
8
votes
2answers
477 views
Convert a string to hex number?
How can I convert a string containing a hex number such as "6b" to a hex digit that mathematica can use to do math with?
I have tried using ...
4
votes
2answers
328 views
What is the most efficient way to add zeros to end of a number?
Beside *10^n, is there a faster way to add thousands of zeros to end of a number?
Updated
Timings:
...
1
vote
1answer
114 views
What is the fastest way to split a number into parts?
I have very large numbers (million digits).
number = A*10^partlen + B
As of now, I split the numbers by this way:
...