MoneySpellerEngine 1.1.0

.NET Framework 4.0
Install-Package MoneySpellerEngine -Version 1.1.0
dotnet add package MoneySpellerEngine --version 1.1.0
<PackageReference Include="MoneySpellerEngine" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MoneySpellerEngine --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MoneySpellerEngine, 1.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install MoneySpellerEngine as a Cake Addin
#addin nuget:?package=MoneySpellerEngine&version=1.1.0

// Install MoneySpellerEngine as a Cake Tool
#tool nuget:?package=MoneySpellerEngine&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

MoneySpellerEngine

This lightweight library is used to spell out numbers in positive integer 64 bit into spelled out numbers from 1 to 999,999,999,999,999 (Trillion). Currently, it only supports ID (Indonesia) and EN (English) languages. We hope your contribution in your own language(s) using our core interface ISpeller.

Here we will outline some tests that we performed:

Computer Specification:

  • Processor : Intel(R) Core(TM) i3-3240 @ 3.40 GHz (Turbo-Boost)
  • RAM : 16.0 GB
  • System type : x64 based processor
  • OS : MS Windows 10 (10.0, Build 14393)

Project Specification:

  • .NET Version : .NET Framework 4.0
  • Language : C#
  • Configuration : Configuration was performed in RELEASE mode

Static Test

This test used static sample 999,994,567,890,532 to generate its spelled numbers in both languages for 10,000,000 in 5 times and we calculated total and average of all.

Indonesian Run-Test

  • Single sample used : 999,994,567,890,532
  • Iteration : 10,000,000 x 5 times
  • Total elapsed : 00:01:39.9259223
  • Total elapsed in ms : 99925 ms
  • Avg elapsed in sec : 19.985 sec
  • Avg elapsed in ms : 19985 ms

English Run-Test

  • Single sample used : 999,994,567,890,532
  • Iteration : 10,000,000 x 5 times
  • Total elapsed : 00:01:35.9875708
  • Total elapsed in ms : 95987 ms
  • Avg elapsed in sec : 19.197 sec
  • Avg elapsed in ms : 19197 ms

Static Test


Choosen Samples Test

This test used choosen samples (231 data) that we created against the most difficult spellings in real life (you can inspect the data @ our BenchmarkTest Project).

Indonesian Run-Test

  • Total samples : 231
  • Elapsed : 00:00:00.0060646

English Run-Test

  • Total samples : 231
  • Elapsed : 00:00:00.0045587

Choosen samples EN

Choosen samples ID

Choosen samples Final


Dynamic Test Against 1 - 1,000,000,000 Iterations

This is the most difficult test that we performed. It basically generated spelled out numbers in 1 - 1,000,000,000 iterations in both languages. Because the limitation of our computer, we just only set the iteration until 1,000,000,000.

Indonesian Run-Test

  • Iteration : 1,000,000,000
  • Total elapsed : 00:16:53.8371805
  • Total elapsed in ms : 1013837 ms

English Run-Test

  • Iteration : 1,000,000,000
  • Total elapsed : 00:15:57.7548077
  • Total elapsed in ms : 957754 ms

Test performed: October 9, 2017

License: MIT License

Best Regards,

Mirza Ghulam Rasyid

Product Versions
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 1,373 10/9/2017

Currently, it only supports ID (Indonesia) and EN (English) languages from 1 to 999,999,999,999,999 (Trillion)