MathUtils Extension (My First Extension)

Today I Present My First Extension 'MathUtils' Extension.

Introduction:

MathUtils Extension will allow you to quickly perform such functions as:

• Simple Mathematics (Addition, Subtraction, Multiplication etc...)

• You Can Convert Numbers to its Short Form like 1000 = 1k, 56000 = 56k.

• Format a Number to a Default Format.

• Customize the Formatting of a Number.

• Put a Separator into Your Number.

Documentation:

Format
Format a Number to a Default Number.

Number •Numbers to be Formatted in Meters, BytesBytes or Grams.

Format •Format to:
1 = Cm
2 = Km
3 = GB
4 = MB
5 = Kg

Custom Format
Customize the Formatting of a Number.

Number •The Number to be Formatted.
Prefix and Sufix •Prefix/Suffix Your Number with anything. Leave an Empty String, If you don't want to Prefix/Suffix.
multipyFor •Multiply Your Number for Other. If you don't want to use this, Put 1.

Separate
Put a Separator into Your Number.

Number •The Number You want to Add Separator.
Separator •The Separator You want to Use in Your Number.

Indirect Methods

These are Methods that will raise the Indirect Formatting Event with the value instead of Returning it. This will beUseful if you want to do something after Formatting.

Error
error Message
An Error Occured

1 = You must Choose a Valid Default Format: Direct Method.
2 = You must Choose a Valid Default Format: Indirect Method.

IndirectFormatting
Event Raised When You use Indirect Methods.

The Return Value of the Method.

Convert
Convert Number to its Short Form.

Value •Which You want Convert in Short Form.

Thanks For Reading my this Post.

Extension Built - 2021-01-07T18:30:00Z

6 Likes

आप वह भी आजमा सकते हैं जो नहीं है। Nice!

1 Like

एक ही काम की दो चीजें क्यों होती हैं?

1 Like

@KUMARASWAMY_B.G OnError block is for Convert Value block.
& Error block is for

1 Like

3 Likes

@KUMARASWAMY_B.G I hope you Understand & Thanks @Salman_Dev.

1 Like

1 Like

2 Likes

@TIMAI2 & @KUMARASWAMY_B.G I Updated the Link. Check now & Thanks for Letting me Know.

Thanks @Muhammad_Mansuri. I've been looking for an extension like this for a while... and you made it.

1 Like

That link says it doesn't exist or is private. What happened?

1 Like

@netminderno.9apps Link was Updated. Check My First Post.

Thanks.

1 Like