remove uneeded percentage code
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user