divide
Last updated
Last updated
will return the quotient of the two given numbers. The return_type specifies in which data type the result will be returned in, like shown in below example:
Typically division works only for numeric data types, but in this case, you have an additional option for characters. Before using it in that way, please test it before actually implementing something.
Also be careful of the denominator being zero, because the compiler won't tell you that it is! It's not a bug, it's a feature.