feature: vor und nachteile

This commit is contained in:
Hikyu
2026-05-31 13:54:31 +02:00
parent 552a947a1c
commit e3dad17446
23270 changed files with 3024794 additions and 200 deletions
+14
View File
@@ -0,0 +1,14 @@
/* MAIN */
const Lang = {
/* API */
clamp: (number, lower, upper) => {
if (lower > upper)
return Math.min(lower, Math.max(upper, number));
return Math.min(upper, Math.max(lower, number));
},
round: (number) => {
return Math.round(number * 10000000000) / 10000000000;
}
};
/* EXPORT */
export default Lang;