mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
272 B
Solidity
8 lines
272 B
Solidity
contract C {
|
|
uint constant a = 1 wei + 2 szabo + 3 finney + 4 ether;
|
|
uint constant b = 1 seconds + 2 minutes + 3 hours + 4 days + 5 weeks;
|
|
uint constant c = 2 szabo / 1 seconds + 3 finney * 3 hours;
|
|
uint constant d = 2 gwei / 1 seconds + 3 finney * 3 hours;
|
|
}
|
|
// ----
|