mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
33 lines
541 B
Solidity
33 lines
541 B
Solidity
contract C {
|
|
function f() public returns(uint) {
|
|
return 2e10 wei;
|
|
}
|
|
|
|
function g() public returns(uint) {
|
|
return 200e-2 wei;
|
|
}
|
|
|
|
function h() public returns(uint) {
|
|
return 2.5e1;
|
|
}
|
|
|
|
function i() public returns(int) {
|
|
return -2e10;
|
|
}
|
|
|
|
function j() public returns(int) {
|
|
return -200e-2;
|
|
}
|
|
|
|
function k() public returns(int) {
|
|
return -2.5e1;
|
|
}
|
|
}
|
|
// ----
|
|
// f() -> 20000000000
|
|
// g() -> 2
|
|
// h() -> 25
|
|
// i() -> -20000000000
|
|
// j() -> -2
|
|
// k() -> -25
|