mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
191 B
Solidity
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
|