Skip to content
Snippets Groups Projects
Commit c35d96c0 authored by maikov's avatar maikov
Browse files

Fix an error.

parent 427109cd
No related branches found
No related tags found
No related merge requests found
......@@ -252,7 +252,7 @@ public class Kasutajaliides {
// Tagastab suvalise arvu vahemikust Algus, lõpp, sammuga samm
public static double suva_arv(double algus, double lõpp, double samm) {
return ((int) suva_arv(algus / samm, Math.floor(lõpp / samm) + 1)) * aste;
return ((int) suva_arv(algus / samm, Math.floor(lõpp / samm) + 1)) * 1;// * aste;
}
// Tagastab täisarvu vahemikust algus, lõpp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment