@F505 I would propose double when just carrying out primary floating level computation. If there is many string conversion necessary, then I'd personally use the class Double What you've got is surely an example of process overloading. The good aspect is that the compiler plus the JVM will decide on the correct method quickly based upon the kind