Re: Newbie question: let f = 0.0; why type(f) is float64 instead of float?

2019-10-12 Thread juancarlospaco
`doAssert f is float` is the way to assert the type.

Newbie question: let f = 0.0; why type(f) is float64 instead of float?

2019-10-12 Thread htorun
This may not be a critical issue but I am trying to understand the basics well to be able to build on them. This is what I think I know: When we declare a variable, we declare it with a type: var i: int = 0 i3: int8 = 1 f: float = 0.0 f32: float32 = 3.14