Jump to content

MathsEx UDF


PhoenixXL
 Share

Recommended Posts

I use Fractions Always In My Script

But I never Found a UDF for That

I made a UDF for Using

So here I want to Share it

I Named it MathsEx UDF but I Guess Fraction UDF would be Better ;)

It Requires Three Funtions Of Array.au3

Currently Supported Functions

; #INDEX# =======================================================================================================================
; Title .........: MathsEx
; AutoIt Version : 3.2.10++
; Language ......: English
; Description ...: Functions for Carrying Out More Advanced Mathematical Calculations.
; Author(s) .....: Phoenix XL
; Included.......: Three Functions of Array.au3 i.e. _ArraySort and _ArrayReverse and __ArrayQuickSort1D Requires Array.au3
; ===============================================================================================================================

; 0xDead=57005...............I just Like The Number :)

; #CURRENT# =====================================================================================================================
; _Find_GCF
; _Find_LCM

; _Subtract_Fraction
; _Add_Fraction
; _Multiply_Fraction
; _Divide_Fraction

; _Reciprocal
; _Compare_Fraction

; _Quotient
; _Simplify

; _IntegerisNegative
; _IntegerisPositive

; _Get_Denominator
; _Get_Numerator

; _To_Fraction
; _To_Mixed_Fraction

; _Is_Fraction_Improper
; _Is_Fraction_Proper
; _Is_Fraction
; ===============================================================================================================================

; #INTERNAL_USE_ONLY# ===========================================================================================================
; _CheckArray
; _Greatest_Common_Factor
; _Operate_Fraction
; _Set_Sequence
; ===============================================================================================================================

I havent Included Any Examples Yet

The Documentation is Enough and Is Very Easy To Implement the Funtions

Though If any Bug or Problem With The UDF Please Share It

The UDF is Attached in the Post

V1.1 = Fixed A Bug

Regards

Phoenix XL

MathsEx V1.1.au3

Edited by PhoenixXL

My code:

PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.

Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners.

MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. 

Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression.

Link to comment
Share on other sites

THnx JScript ;)

My code:

PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.

Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners.

MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. 

Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression.

Link to comment
Share on other sites

  • 2 weeks later...

Cleared the Bug Download the Modified_MathsEx V1.1 UDF

Now Returns the Correct Value

#include <MathsEx.au3>
ConsoleWrite(_Quotient(64,7)&@CRLF)
Edited by PhoenixXL

My code:

PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.

Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners.

MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. 

Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...