Giter VIP home page Giter VIP logo

nanoconverter's People

Contributors

zorger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nanoconverter's Issues

A java.lang.NumberFormatException bug

Hello,we find a java.lang.NumberFormatException bug when we are testing your app with an automated GUI testing tool developed by us.Here is a piece of the execution log:

E/AndroidRuntime( 2928): FATAL EXCEPTION: main
E/AndroidRuntime( 2928): Process: a3e.process, PID: 2928
E/AndroidRuntime( 2928): java.lang.RuntimeException: Unable to resume activity {com.nanoconverter.zlab/com.nanoconverter.zlab.NanoConverter}: java.lang.NumberFormatException: Invalid double: "1.0000test"
E/AndroidRuntime( 2928): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2799)
E/AndroidRuntime( 2928): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2828)
E/AndroidRuntime( 2928): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2263)
E/AndroidRuntime( 2928): at android.app.ActivityThread.access$800(ActivityThread.java:147)
E/AndroidRuntime( 2928): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1211)
E/AndroidRuntime( 2928): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 2928): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 2928): at android.app.ActivityThread.main(ActivityThread.java:5135)
E/AndroidRuntime( 2928): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2928): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 2928): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 2928): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611)
E/AndroidRuntime( 2928): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2928): Caused by: java.lang.NumberFormatException: Invalid double: "1.0000test"
E/AndroidRuntime( 2928): at java.lang.StringToReal.invalidReal(StringToReal.java:63)
E/AndroidRuntime( 2928): at java.lang.StringToReal.initialParse(StringToReal.java:114)
E/AndroidRuntime( 2928): at java.lang.StringToReal.parseDouble(StringToReal.java:263)
E/AndroidRuntime( 2928): at java.lang.Double.parseDouble(Double.java:295)
E/AndroidRuntime( 2928): at com.nanoconverter.zlab.NanoConverter.UpdateRates(NanoConverter.java:1354)
E/AndroidRuntime( 2928): at com.nanoconverter.zlab.NanoConverter.onResume(NanoConverter.java:310)
E/AndroidRuntime( 2928): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1192)
E/AndroidRuntime( 2928): at android.app.Activity.performResume(Activity.java:5440)
E/AndroidRuntime( 2928): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2789)

E/AndroidRuntime( 2928): ... 12 more

The GUI testing tool will input a string"1.0000test" in the "Enter amount" textfield, and could you please take a look and confirm this bug? Thanks a lot!
ywm0822 AT gmail DOT com

Add custom currency

It would be great if we had the ability to add a custom currency. Currently I am missing the Iranian Rial (IRR). Update rate from banks is not something I need right now, I like the ability to customize exchange rate manually (useful when you get your change from a local currency exchange shop that don't apply the same rate as the banks)

Format numbers by separating thousands with a space or something

The Iranian Rial (IRR) currency is in the thousands or event thousand of thousand range. For instance, 1 000 000 IRR is a common sum. Having that many figures makes it difficult to read if there is no thousands separator. It wopuld be very nice if nanoConverter used such a separator.

Reverse the conversion

It would be great to be able to perform a reverse conversion just by clicking on the box on the right and putting the amount instead of manually changing the currency in the list.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.