Created
March 31, 2019 07:59
-
-
Save jasongorman/91db29c2769a406a103f8fa7fcd26684 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(room, pricePerSqMtr, roundUp) | |
real pricePerSqMtr | |
logical roundUp | |
real area | |
area = area_of_room(room) | |
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