From f80aee4d0fb3aad21cfa1c34be8ee3cbe872f407 Mon Sep 17 00:00:00 2001 From: Thomas Roehl Date: Fri, 11 Mar 2022 20:09:16 +0100 Subject: [PATCH] Use 1 as Base prefix --- internal/ccUnits/ccUnitPrefix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ccUnits/ccUnitPrefix.go b/internal/ccUnits/ccUnitPrefix.go index 32e215f..ae3fe0d 100644 --- a/internal/ccUnits/ccUnitPrefix.go +++ b/internal/ccUnits/ccUnitPrefix.go @@ -5,7 +5,7 @@ import "regexp" type Prefix float64 const ( - Base Prefix = iota + Base Prefix = 1 Exa = 1e18 Peta = 1e15 Tera = 1e12