We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SuitLines.java 的 calcUnitXY()方法 float scale = new BigDecimal("1").subtract( (new BigDecimal(Float.toString(curValue)) .subtract(new BigDecimal(Float.toString(minAndMaxOfY[0])))) .divide(new BigDecimal(Float.toString(absValueOfY)), 2,BigDecimal.ROUND_DOWN) 在最大数据等于400 当前值为 250 和 249时 1-250/400 =0.375 1-249/400 =0.3775 如果只保留小数到2位 则画出来的高度是一样的 建议多保留几位小数。
float scale = new BigDecimal("1").subtract( (new BigDecimal(Float.toString(curValue)) .subtract(new BigDecimal(Float.toString(minAndMaxOfY[0])))) .divide(new BigDecimal(Float.toString(absValueOfY)), 2,BigDecimal.ROUND_DOWN)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SuitLines.java 的 calcUnitXY()方法
float scale = new BigDecimal("1").subtract( (new BigDecimal(Float.toString(curValue)) .subtract(new BigDecimal(Float.toString(minAndMaxOfY[0])))) .divide(new BigDecimal(Float.toString(absValueOfY)), 2,BigDecimal.ROUND_DOWN)
在最大数据等于400
当前值为 250 和 249时
1-250/400 =0.375
1-249/400 =0.3775
如果只保留小数到2位 则画出来的高度是一样的 建议多保留几位小数。
The text was updated successfully, but these errors were encountered: