Skip to content

skilloff1337/Abbreviation-of-numbers

Repository files navigation

Abbreviation-of-numbers | Сокращение чисел. [Ru/En]

English

This system is designed to reduce huge numbers to small numbers with a nominal degree prefix.

Important the function takes a Double value and returns a String.

Example of abbreviations

image

How to use

To use this system, you will need to duplicate the DegreeNamesList.cs, Language.cs, NumberConverter.cs files into your project. Then, in the class you need, incilize the NumberConverter.cs class and call the method in this class. (An example is in the project in the Programm.cs class, method -> ExampleMethod())

The system is easy to customize, it is possible to add new languages, read the name of nominal steps from a file, and so on.

image

Русский

Данная система преднозначена для сокращение огромных чисел до маленьких чисел с приставкой именной степени.

Важно функция принимает значение Double, а возвращает String.

Пример сокращений

image

Способ использования

Что-бы использовать данную систему, потребуется дублировать файлы DegreeNamesList.cs, Language.cs, NumberConverter.cs себе в проект. Затем в нужном вам в классе, инцилизировать класс NumberConverter.cs и вызывать метод в этом классе. (Пример есть в проекте в классе Programm.cs, метод -> ExampleMethod())

Систему легко настроить под себя, возможно добавление новых языков, чтение название именных ступений с файла и тд.

image

Packages

No packages published

Languages