From 263c81054412e5866e6098e3bbb6ea8a0ce22f11 Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Sun, 26 May 2019 17:21:41 -0400 Subject: [PATCH] remove uneeded percentage code --- src/misc.vala | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/misc.vala b/src/misc.vala index 4f6cf03..568deac 100644 --- a/src/misc.vala +++ b/src/misc.vala @@ -21,17 +21,6 @@ namespace Colegio { INVALIDVERIFIER } - public class Percentage : Object { - public static string format_float (float value) { - return (value * 100).to_string () + "%"; - } - - public static string format_double (double value) { - // Remove the double precision by converting to float - return ((float) (value * (double) 100)).to_string () + "%"; - } - } - public class Rut : Object { private string clean_rut; private string pretty_rut;