solidity/test/libsolidity/semanticTests/fixedPoint/multiplication.sol
2021-07-28 15:08:16 +02:00

8 lines
191 B
Solidity

contract c {
function mul(fixed a, fixed b) public pure returns (fixed c) {
return a * b;
}
}
// ----
// mul(fixed128x18,fixed128x18): 200, 10000000000000000000000 -> 2000000