Giter VIP home page Giter VIP logo

Comments (2)

JakeHartnell avatar JakeHartnell commented on August 19, 2024

This is actually the right amount... note the denom is ujunox. Cosmos tokens have normal and micro denoms, and blockchains in general don't use floating point numbers for math. For example, 1 Bitcoin is comprised of 100,000,000 Satoshis.

Curious how we could make this more clear to the user... thanks for all of these issues by the way. I've moved them over to the relevant repos to be addressed. All code will be open sourced on the 31st.

from docs.

szymcio32 avatar szymcio32 commented on August 19, 2024

Ohh, good to know.
Have you considered showing the message to the end-user in a more user-friendly format than json? I mean you could create a UI template to which json file will be converted and then display to the user. When the user sends the proposal the UI template will be converted back to json file. In this case you could handle floating point numbers. But it will definitely require more work and maintain additional functionality.

from docs.

Related Issues (20)

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.