iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
Why worry if the input is integer or floating point? Treat all as floating point and you have no problems.
vmanes
Posting Virtuoso
1,914 posts since Aug 2007
Reputation Points: 1,268
Solved Threads: 228
Duoas
Postaholic
2,043 posts since Oct 2007
Reputation Points: 1,140
Solved Threads: 229
I thought hacker speak wasn't allowed/permitted/desired here?
(Sorry, couldn't resist ;). I know your example is an exponential form, but it looks like....)
vmanes
Posting Virtuoso
1,914 posts since Aug 2007
Reputation Points: 1,268
Solved Threads: 228
LOL :icon_lol:
RajatC Read here and here .
The joke is that the floating-point number 10,000,000, written as "1e7", looks like leetspeak.
This is a forum for programmers and hackers , not script kiddies and warez wannabies, so leetspeek is expressly verboten.
Duoas
Postaholic
2,043 posts since Oct 2007
Reputation Points: 1,140
Solved Threads: 229