DecimalMath.sol
PreviousTransfer Manager module for manually approving transactions between accounts (ManualApprovalTransferNextSTO module for standard capped crowdsale (USDTieredSTO.sol)
Last updated
Was this helpful?
Last updated
Was this helpful?
View Source:
DecimalMath
Constants & Variables
This function multiplies two decimals represented as (decimal 10*DECIMALS)
Returns
uint256 Result of multiplication represented as (decimal 10*DECIMALS)
Arguments
Name
Type
Description
x
uint256
y
uint256
This function divides two decimals represented as (decimal 10*DECIMALS)
Returns
uint256 Result of division represented as (decimal 10*DECIMALS)
Arguments
Name
Type
Description
x
uint256
y
uint256