I have come with a problem with programming language.
//php
$a = (int) (10.20 * 100);
echo $a;
// expected output: 1020
// output: 1019
# python
int(10.20 * 100)
# expected output: 1020
# output: 1019
I have come with a problem with programming language.
//php
$a = (int) (10.20 * 100);
echo $a;
// expected output: 1020
// output: 1019
# python
int(10.20 * 100)
# expected output: 1020
# output: 1019