Coder Social home page Coder Social logo

Comments (5)

robinkraft avatar robinkraft commented on August 12, 2024

So I've got things worked out for the truncating such that

3.4 -> "3.4"
3.4444444444 -> "3.4444444"
3.00 -> "3.0"

Is it worth special-casing precision to force int zeros, or is this behavior we want everywhere?

Also, do we actually want all possible ints to be stored as such?

3.0 -> "3".

from fossa.

robinkraft avatar robinkraft commented on August 12, 2024

Just added support for that last option: 3.0000000 -> "3"

from fossa.

eightysteele avatar eightysteele commented on August 12, 2024

Nice dude. LGTM.

from fossa.

robgur avatar robgur commented on August 12, 2024

Hmmm. I wouldn't mind a Tuco check. Precision on decimals might be a
place where we want to keep 3.00 and 3.0 as "3.0" as opposed to "3".
-r

On Tue, Nov 13, 2012 at 1:53 PM, Aaron Steele [email protected]:

Nice dude. LGTM.


Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-10343087.

from fossa.

eightysteele avatar eightysteele commented on August 12, 2024

OK just pinged tuco.
On Nov 13, 2012 3:32 PM, "Rob" [email protected] wrote:

Hmmm. I wouldn't mind a Tuco check. Precision on decimals might be a
place where we want to keep 3.00 and 3.0 as "3.0" as opposed to "3".
-r

On Tue, Nov 13, 2012 at 1:53 PM, Aaron Steele [email protected]:

Nice dude. LGTM.


Reply to this email directly or view it on GitHub<
https://github.com/MapofLife/fossa/issues/20#issuecomment-10343087>.


Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-10348800.

from fossa.

Related Issues (17)

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.