Method TryDivideExact
| Improve this Doc View SourceTryDivideExact(BigDecimal, BigDecimal, out BigDecimal)
Performs a division operation that results in an exact decimal answer (i.e. no repeating decimals).
Declaration
public static bool TryDivideExact(BigDecimal dividend, BigDecimal divisor, out BigDecimal result)
Parameters
Type | Name | Description |
---|---|---|
BigDecimal | dividend | The dividend of the division operation. |
BigDecimal | divisor | The divisor of the division operation. |
BigDecimal | result | The result of the division operation. |
Returns
Type | Description |
---|---|
Boolean | true if an exact result could be produced, otherwise false. |