Multiplication issue
Reported by
sravanfo...@gmail.com,
Oct 14 2016
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36 Steps to reproduce the problem: 1. 0.57*100 =56.999999 2. 3. What is the expected behavior? 0.57*100=57 What went wrong? Multiplication is not happening properly. Instead of 57 it is giving 56.9999 in the below condition. 0.57*100 Did this work before? No Chrome version: 53.0.2785.143 Channel: n/a OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: Shockwave Flash 23.0 r0
,
Oct 14 2016
This is working as intended. See https://en.wikipedia.org/wiki/Floating_point. |
||
►
Sign in to add a comment |
||
Comment 1 Deleted