@baravak/risloo-profile-cli 4.25.2 → 4.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baravak/risloo-profile-cli",
3
- "version": "4.25.2",
3
+ "version": "4.26.0",
4
4
  "description": "**Risloo Profile CLI** is a library for creating profiles, reports and sheets for *psychological* samples.",
5
5
  "main": "bin/risloo.js",
6
6
  "publishConfig": {
@@ -164,8 +164,9 @@ class _16PF93 extends Profile {
164
164
  }
165
165
  bCount.style = alertStyle[bCount.type]
166
166
  const secondary = dataset.score.slice(34, 44).map((item, i) => {
167
- item.value = item.mark.toString().replace('.', ',')
168
- item.mark = Math.min(Math.max(item.mark, 0), 10)
167
+ item.value = parseFloat(item.mark).toString().replace('.', ',')
168
+ item.mark = parseFloat(Math.min(Math.max(item.mark, 0), 10))
169
+
169
170
  item.label.max = 10
170
171
  item.circle = gauge(item, -90, 270)
171
172
  const row = Math.floor(i / 2)