VolumeVerticalTank (Function) |
Top Previous Next |
This function will calculate the amount of fluid in a vertical tank. The calculation is based on the tank possessing uncurved ends and being perfectly circular in shape.
Input: R : DINT (0..2147483648) Radius of the tank in millimeters.
H : DINT (0..2147483648) Height of the fluid in the tank in millimeters
Returns: DINT The amount of fluid contained in the tank in milliliters.
Declaration: FUNCTION VolumeVerticalTank : DINT;
Example: //----------------------------------------------------------------------------- |