Code has been added to clipboard!
Source File Layout: Doxygen Tags
Example
pragma solidity ^0.4.0;
/** @title Calculate The Shapes. */
contract shapeCalc {
/** @dev This function is made for calculating the surface and perimeter of a rectange.
* @param w Rectangle width.
* @param h Rectangle height.
* @return s Rectangle surface.
* @return p Rectangle perimeter.
*/
function rectangle(uint h, uint w) returns (uint p, uint s) {
p = 2 * (h + w);
s = h * w;
}
}