From c3633033b108c023920a99a53b5e295a9572ea4d Mon Sep 17 00:00:00 2001 From: Michael Scoff Date: Tue, 12 Dec 2017 23:42:25 -0800 Subject: [PATCH] Use .floor --- Trust/Models/Token.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Trust/Models/Token.swift b/Trust/Models/Token.swift index 4ff57e364..44866a5a4 100644 --- a/Trust/Models/Token.swift +++ b/Trust/Models/Token.swift @@ -16,7 +16,7 @@ extension Token { let numberFormatter = NumberFormatter() numberFormatter.minimumFractionDigits = 0 numberFormatter.maximumFractionDigits = 8 - numberFormatter.roundingMode = .down + numberFormatter.roundingMode = .floor return numberFormatter }()