n7 1.0.1

dotnet add package n7 --version 1.0.1
                    
NuGet\Install-Package n7 -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="n7" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="n7" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="n7" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add n7 --version 1.0.1
                    
#r "nuget: n7, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package n7@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=n7&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=n7&version=1.0.1
                    
Install as a Cake Tool

n7

Arbitrary Precision Decimal Calculator for Windows CMD Command Line.

HOW TO USE n7 CMD COMMAND LINE:

   addition: n7 + 2 3.5      REM5.5
   addition: n7 + 2 3.5 4.5  REM10.0
subtraction: n7 - 2 3.5      REM-1.5
subtraction: n7 - 2 3.5 4.5  REM-6.0

multiplication: n7 x 2 3.5 4.5 REM31.5 multiplication: n7 X 2 3.5 4.5 REM31.5 multiplication: n7 * 2 3.5 4 REM28.0 division: n7 / 120 2.0 5 REM12.0 division: n7 / 2.5 3.5 REM0.7142857142857142857142857142857142857142 division: n7 : 2.5 3.5 REM0.7142857142857142857142857142857142857142 remainder: n7 % 17.0 10 4 REM3.0 factorial: n7 ! 5 REM120.0

   absolute: n7 abs -5.0     REM5.0

   addition: n7 add 3.0 5.5    REM8.5
subtraction: n7 sub 3.0 5.5    REM-2.5

multiplication: n7 mul 3.0 5.5 REM16.5 division: n7 div 3.0 5.5 6 REM0.545454 remainder: n7 mod 10.0 7.0 REM3.0 inverse: n7 inv 3.0 6 REM0.333333 square root: n7 sqr 2.0 6 REM1.414213

     square: n7 x2  5.0       REM25.0
       cube: n7 x3  5.0       REM125.0
      power: n7 xy 10.5 3.0   REM1157.625
      power: n7 ^^ 10.5 3     REM1157.625 (PROMPT DOS)
      power: n7 ^  10.5 3     REM1157.625 (POWERSHELL)
        10y: n7 10y 3.0       REM1000.0
         2y: n7 2y 32.0       REM4294967296.0
         ey: n7 ey 1.0        REM2.7182818284590452353602874713527
  factorial: n7 fact 5        REM120.0

        10x: n7 10x 5.25         REM52.5
       100x: n7 100x 5.25        REM525.0
      1000x: n7 1000x 5.25       REM5250.0
      10div: n7 10div 5.25       REM0.525
     100div: n7 100div 5.25      REM0.0525
    1000div: n7 1000div 5.25     REM0.00525

      shift: n7 shift 5.25  3.0  REM5250.0
      shift: n7 shift 5.25 -3.0  REM0.00525

 percentage: n7 pct 3.725 150.0     REM5.5875
perthousand: n7 pth 2.0 24_000.0    REM48.0
   spin-off: n7 spoff 22.0 1_299.0  REM1064.75409836065573770491803278688524
    spin-on: n7 rnd 1298.995        REM1299.0

        rnd: n7 rnd  3.141592654 4  REM3.1416
       rndb: n7 rndb 3.141592654 7  REM3.1415926
       rndc: n7 rndc 3.141592654    REM4.0
       rndf: n7 rndf 3.74           REM3.0

        sum: n7 sum  3.74 0.26 4 2.0  REM10.0
        min: n7 min  3.74 0.26 4 2.0  REM0.26
        max: n7 max  3.74 0.26 4 2.0  REM4.0
       mean: n7 mean 3.74 0.26 4 2.0  REM2.5

          e: n7 e   REM2.7182818284590452353602874713527
         pi: n7 pi  REM3.1415926535897932384626433832795
        exp: n7 exp 200.0e-5    REM200.0e-5
 scientific: n7 sci 200.0e-5    REM2.0e-3
       bits: n7 bits 10.0       REM1010
       bits: n7 bits 65535.0 0  REMFFFF

         gt: n7 gt -5.0 -4.0  REM0
         ge: n7 ge -6.0 -6.0  REM1
         lt: n7 lt -5.0  0.0  REM1
         le: n7 le -5.0 -5.0  REM1
         eq: n7 eq -5.0  0.0  REM0
         ne: n7 ne -5.0  0.0  REM1

    is_zero: n7 is_zero   0.0  REM1
     is_pos: n7 is_pos    1.0  REM1
     is_neg: n7 is_neg   -1.0  REM1
    is_even: n7 is_even   3.0  REM0
     is_odd: n7 is_odd    2.0  REM0
     is_int: n7 is_int   -2.1  REM0
   is_prime: n7 is_prime +3.0  REM1

   n7_ERROR: IF %ERRORLEVEL% EQU 2 ECHO n7_CALCULATOR_ERROR
There are no supported framework assets in this package.

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.0.1 472 4/25/2025
1.0.0 410 11/16/2024