mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Change example code formatting
This commit is contained in:
parent
02a72871d2
commit
c58e460ba2
@ -171,9 +171,9 @@ for the two input parameters and two returned values.
|
||||
* @return s The calculated surface.
|
||||
* @return p The calculated perimeter.
|
||||
*/
|
||||
function rectangle(uint w, uint h) returns (uint s, uint p){
|
||||
s = w*h;
|
||||
p = 2*(w+h);
|
||||
function rectangle(uint w, uint h) returns (uint s, uint p) {
|
||||
s = w * h;
|
||||
p = 2 * (w + h);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user