mirror of
https://github.com/shopspring/decimal.git
synced 2024-11-23 04:40:49 +01:00
124 lines
2.9 KiB
Go
124 lines
2.9 KiB
Go
package decimal
|
|
|
|
// MinusOne defines value -1 in decimal format
|
|
var MinusOne = New(-1, 0)
|
|
|
|
// OneTenth defines value 0.1 in decimal format
|
|
var OneTenth = New(1, -1)
|
|
|
|
// TwoTenth defines value 0.1 in decimal format
|
|
var TwoTenth = New(2, -1)
|
|
|
|
// Half defines value 0.5 in decimal format
|
|
var Half = New(5, -1)
|
|
|
|
// One defines value 1 in decimal format
|
|
var One = New(1, 0)
|
|
|
|
// Two defines value 2 in decimal format
|
|
var Two = New(2, 0)
|
|
|
|
// Three defines value 3 in decimal format
|
|
var Three = New(3, 0)
|
|
|
|
// Four defines value 4 in decimal format
|
|
var Four = New(4, 0)
|
|
|
|
// Five defines value 5 in decimal format
|
|
var Five = New(5, 0)
|
|
|
|
// Six defines value 6 in decimal format
|
|
var Six = New(6, 0)
|
|
|
|
// Seven defines value 6 in decimal format
|
|
var Seven = New(7, 0)
|
|
|
|
// Eight defines value 8 in decimal format
|
|
var Eight = New(8, 0)
|
|
|
|
// Nine defines value 9 in decimal format
|
|
var Nine = New(9, 0)
|
|
|
|
// Ten defines value 10 in decimal format
|
|
var Ten = New(10, 0)
|
|
|
|
// Eleven defines value 11 in decimal format
|
|
var Eleven = New(11, 0)
|
|
|
|
// Twelve defines value 12 in decimal format
|
|
var Twelve = New(12, 0)
|
|
|
|
// Thirteen defines value 13 in decimal format
|
|
var Thirteen = New(13, 0)
|
|
|
|
// Fourteen defines value 14 in decimal format
|
|
var Fourteen = New(14, 0)
|
|
|
|
// Fifteen defines value 15 in decimal format
|
|
var Fifteen = New(15, 0)
|
|
|
|
// Sixteen defines value 16 in decimal format
|
|
var Sixteen = New(16, 0)
|
|
|
|
// Seventeen defines value 17 in decimal format
|
|
var Seventeen = New(17, 0)
|
|
|
|
// Eighteen defines value 18 in decimal format
|
|
var Eighteen = New(18, 0)
|
|
|
|
// Nineteen defines value 19 in decimal format
|
|
var Nineteen = New(19, 0)
|
|
|
|
// Twenty defines value 20 in decimal format
|
|
var Twenty = New(20, 0)
|
|
|
|
// Thirty defines value 30 in decimal format
|
|
var Thirty = New(30, 0)
|
|
|
|
// Forty defines value 40 in decimal format
|
|
var Forty = New(40, 0)
|
|
|
|
// Fifty defines value 50 in decimal format
|
|
var Fifty = New(50, 0)
|
|
|
|
// Sixty defines value 60 in decimal format
|
|
var Sixty = New(60, 0)
|
|
|
|
// Seventy defines value 70 in decimal format
|
|
var Seventy = New(70, 0)
|
|
|
|
// Eighty defines value 80 in decimal format
|
|
var Eighty = New(80, 0)
|
|
|
|
// Ninty defines value 90 in decimal format
|
|
var Ninty = New(90, 0)
|
|
|
|
// Hundred defines value 100 in decimal format
|
|
var Hundred = New(100, 0)
|
|
|
|
// TwoHundred defines value 200 in decimal format
|
|
var TwoHundred = New(200, 0)
|
|
|
|
// ThreeHundred defines value 300 in decimal format
|
|
var ThreeHundred = New(300, 0)
|
|
|
|
// FourHundred defines value 400 in decimal format
|
|
var FourHundred = New(400, 0)
|
|
|
|
// FiveHundred defines value 500 in decimal format
|
|
var FiveHundred = New(500, 0)
|
|
|
|
// SixHundred defines value 600 in decimal format
|
|
var SixHundred = New(600, 0)
|
|
|
|
// SevenHundred defines value 700 in decimal format
|
|
var SevenHundred = New(700, 0)
|
|
|
|
// EightHundred defines value 800 in decimal format
|
|
var EightHundred = New(800, 0)
|
|
|
|
// NineHundred defines value 900 in decimal format
|
|
var NineHundred = New(900, 0)
|
|
|
|
// Thousand defines value 100 in decimal format
|
|
var Thousand = New(1000, 0)
|