This commit is contained in:
Bane Stojkovic
2026-06-10 17:19:45 +02:00
parent 1d7dd87d85
commit 9c29d2c4d6
2 changed files with 2 additions and 2 deletions
@@ -30,7 +30,7 @@ public class MathUtils {
public static Double round(double value) {
return Math.round(value * 1e8) / 1e8;
}
public static double parseDouble(String str) {
return Math.round(Double.parseDouble(str) * 1e8) / 1e8;
}
@@ -49,7 +49,7 @@ import org.diylc.core.measures.Size;
import org.diylc.core.measures.SizeUnit;
import org.diylc.utils.Constants;
@ComponentDescriptor(name = "Freeway Blade", category = "Guitar", author = "Martin Morrell, Branislav Stojkovic", description = "Several variations of Freeway Blade switches", zOrder = IDIYComponent.COMPONENT, instanceNamePrefix = "SW", keywordPolicy = KeywordPolicy.SHOW_TAG, keywordTag = "Guitar Wiring Diagram", transformer = AngledComponentTransformer.class)
@ComponentDescriptor(name = "Freeway Blade", category = "Guitar", author = "Martin Morrell", description = "Several variations of Freeway Blade switches", zOrder = IDIYComponent.COMPONENT, instanceNamePrefix = "SW", keywordPolicy = KeywordPolicy.SHOW_TAG, keywordTag = "Guitar Wiring Diagram", transformer = AngledComponentTransformer.class)
public class FreewayBlade extends AbstractAngledComponent<String> implements ISwitch {
private static final long serialVersionUID = 1L;