Nevron .NET Vision Documentation

Divide

Chart for .NET > User's Guide > Data Manipulation > Functions > Math Functions > Divide |

Syntax

DIV(arg1; arg2)

Arguments

Accepts two arguments, which may be either single values or arrays.

Result

If both arguments are single values, the result is a single value.

If at least one of the arguments is an array, the result is also an array. The size of the result is equal to the size of the input array.

If both of the arguments are arrays, the size of the result is equal to the size of the smallest input array.

If at least one of the arguments is an array, the result is also an array. The size of the result is equal to the size of the input array.

If both of the arguments are arrays, the size of the result is equal to the size of the smallest input array.

Description

Each element of the result is the quotient of the corresponding elements of the input arguments. If the division for a particular element is invalid (division by zero), then this element is marked as invalid in the result array.

arg1 | 5 | 4 | 28 | 6 | 10 |

result | 2.5 | 2 | 14 | 3 | 5 |

arg1 | 5 | 4 | 28 | 6 | 10 |

arg2 | 5 | 0 | 7 | 3 | 4 |

result | 1 | DBNull.Value (Empty Data Point) |
4 | 2 | 2.5 |

Related Examples

Windows Forms: All Examples\Data Manipulation\Functions\Statistical\Basic Functions