Divide: Difference between revisions
m
Add notes and related section
Nikitaivanov (talk | contribs) (Created page with "File:Divide1.png Divides the first input number by the second input number. File:Screenshot_2022-02-16-16-11-49-17_6c69499164362a0dbe2f1dfe7c62199a.jpg Category:Blocks ") |
-u ndefined- (talk | contribs) m (Add notes and related section) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Block | |||
|image=Divide.png | |||
|type=s | |||
|folder=math | |||
|input1={{Port|n|Num1}} | |||
|input2={{Port|n|Num2}} | |||
|output1={{Port|n|Num1 / Num2}} | |||
}} | |||
Divides the first input [[number]] by the second input number. | Divides the first input [[number]] by the second input number. | ||
[[File: | [[File:Divide example.jpg|frameless|center|Example]] | ||
== Notes == | |||
If the denominator (Num2) is 0 the result returns <code>inf</code>, the sign determined by the numerator. However, if both are 0 then the result returns <code>nan</code>. | |||
== Related == | |||
* [[Add Numbers]] | |||
* [[Subtract Numbers]] | |||
* [[Multiply]] | |||
[[Category:Blocks]] | [[Category:Blocks]] |