PHP » PYTHON |
login |
register |
about
|
|
In python, the asterisk is the multiplication operator.
As per example: print 1.34747474747 * 35 print 2 * 4 If you want to take strings, like bcmul() in PHP: print float('1.34747474747') * int('35') print int('2') * int('4') bcmul(PHP 4, PHP 5) bcmul — Multiply two arbitrary precision number Description
string bcmul
( string $left_operand
, string $right_operand
[, int $scale
] )
Multiply the left_operand by the right_operand . Parameters
Return ValuesReturns the result as a string. ExamplesExample #1 bcmul() example
<?php |
more
Recently updated
more
Most requested
|