Marijn Koesen
Marijn Koesen
Hi, I'd like to create a new PercentageChange Indicator (got POC working already) to indicate if the series went up- or down in a specific percentage (based on the last...
BigDecimal is loosing precision because of the hardcoded `MATH_CONTEXT(32, HALF_UP)` ``` String sqrtOfTwo = "1.4142135623730950488016887242096980785696718753769480731" + "766797379907324784621070388503875343276415727350138462309122970249248360" + "5585073721264412149709993583141322266592750559275579995050115278206057147"; System.out.println(new BigDecimal(sqrtOfTwo)); System.out.println(BigDecimalNum.valueOf(sqrtOfTwo)); ``` Results in: ``` 1.41421356237309504880168872420969807856967187537694807317667973799073247846210703885038753432764157273501384623091229702492483605585073721264412149709993583141322266592750559275579995050115278206057147 1.4142135623730950488016887242097 ``` Looking...