remove uneeded percentage code
This commit is contained in:
parent
7343bbeb00
commit
263c810544
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user