CuteCalc icon indicating copy to clipboard operation
CuteCalc copied to clipboard

comma without a zero

Open heykanspor opened this issue 1 year ago • 4 comments

hi, when i not type a zero before comma it gives an error. i tried it with the latest version.

heykanspor avatar Aug 16 '24 07:08 heykanspor

Hello, I need to see that with the guy who wrote the maths library 😁

sosauce avatar Aug 16 '24 10:08 sosauce

hi, the another problem.

Screenshot_20240816-233340 Screenshot_20240816-233333

heykanspor avatar Aug 16 '24 20:08 heykanspor

This is normal, see issues #66 for more explanation

sosauce avatar Aug 16 '24 22:08 sosauce

hi, when i not type a zero before comma it gives an error. i tried it with the latest version.

@heykanspor @sosauce .5 is in no way a standardised notation for floating point numbers. Please write 0.5. I will NOT support non standard numerical notation.

@sosauce You could pretreat the input string: if the character before the dot/comma is not a digit, you could insert a 0 there.

TLDR: this is basically not an issue.

notKamui avatar Aug 22 '24 00:08 notKamui

Yeah I was expecting you to say that, I wouldn't have bothered to ask anyways

sosauce avatar Aug 22 '24 12:08 sosauce