how can I get result 001+ 2= 002 in jquery addition operation. I have checked some doc but can’t get a correct way to do it.
$a = 001;
$b=2;
$c=$a + $b;
console.log($c);
// am getting 2 as result. But how to make it 002
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
how can I get result 001+ 2= 002 in jquery addition operation. I have checked some doc but can’t get a correct way to do it.
$a = 001;
$b=2;
$c=$a + $b;
console.log($c);
// am getting 2 as result. But how to make it 002