ExtensionMethod.NET Home of 880 C#, Visual Basic, F# and Javascript extension methods

big number library

enables calculation of big number

Source

static class Foo {
public static decimal lakh(this Decimal i) {
	decimal lakh = i * 100000;
	return lakh;
}
public static decimal crore(this Decimal i) {
	decimal crore = i * 1000000;
	return crore;
}
}

Example

15.lakh()
1500000

Author: kumar paneer

Submitted on: 19 jan. 2018

Language: C#

Type: bignum lakh crore

Views: 3975