So I was writing a perl program to do some calculation and I had put a floating point number as
$x = 00.05;
if I print
print $x * 100.0;
It returns 500.0
But if I do
$x = 0.05;
print $x * 100.0;
it prints correctly 5.0;
What is this behaviour? Is there any convention I have to obey that I am missing?