<-- Previous || Up || Next -->

Factor Number To Expr Function
Math Arithmetic Class

Public Function FactorNumberToExpr( _
    ByVal vX As Variant _
    ) As Variant

"Factor Number To Algebraic Expression"
Factor a number and return its prime factors in a string as an algebraic expression.

    FactorNumberToExpr(12345678) = "2*3^2*47*14593"
See also:
    FactorMatrixToExpr Function
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.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.