20030 / Publications
Forum
Issue of Double Data type.Please kindly Help
Hi I have some problem of the simple code listed below double z; double base=0.1; y=Digits; z=MathPow(base,y); When Digits = 5 , which means MathPow(0.1,5) , z becomes 0 , Below is what I output with different value of y, it only works up to y = 4, anyone can kindly suggest what is the issue? y = 3