Last active
March 31, 2019 07:00
-
-
Save jasongorman/c94fce22cfa7c10d6b7d628f01e138a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
real function quote(width, length, pricePerSqMtr, roundUp) | |
real width, length, pricePerSqMtr | |
logical roundUp | |
real area | |
area = width * length | |
if (roundUp) then | |
area = ceil(area) | |
endif | |
quote = area * pricePerSqMtr | |
return | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment