Signature (Visual Basic / VBA)
Public Function FactorNumberToExpr( _
ByVal vX As Variant _
) As Variant
Code Example
FactorNumberToExpr(12345678) = "2*3^2*47*14593"
Parameters
| Parameter | Description |
|---|---|
| vX | The number whose prime factors are to be calculated and returned as an algebraic expression. Function returns Null if vX is Null or cannot be fixed up to a number. Function returns Null if vX is not between 1 and 2,147,483,647 ( MaxLong ) inclusive. |