mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-08-26 06:01:49 +02:00
Use the new floatUtils
This commit is contained in:
parent
b46acd130b
commit
89007ebdd6
@ -24,6 +24,7 @@ draft: false
|
||||
<script src="/js/selectSelectAll.js"></script>
|
||||
<script src="https://unpkg.com/simple-statistics@7.0.2/dist/simple-statistics.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bowser@2.5.3/es5.min.js"></script>
|
||||
<script src="/js/floatUtils.js"></script>
|
||||
<script>
|
||||
window.onload = async () => {
|
||||
window.browser=bowser.getParser(window.navigator.userAgent);
|
||||
|
@ -279,9 +279,9 @@ class dataFileBase {
|
||||
type = m[1]
|
||||
}
|
||||
}
|
||||
var val = ((vals.length >= 7 + hasType) ? parseFloat(vals[6 + hasType], 10) : NaN)
|
||||
var oscilatorForces = ((vals.length >= 8 + hasType) ? parseFloat(vals[7 + hasType], 10) : NaN)
|
||||
var T1 = ((vals.length >= 9 + hasType) ? parseFloat(vals[8 + hasType], 10) : NaN)
|
||||
var val = ((vals.length >= 7 + hasType) ? new stringFloat(vals[6 + hasType], 10) : NaN)
|
||||
var oscilatorForces = ((vals.length >= 8 + hasType) ? new stringFloat(vals[7 + hasType], 10) : NaN)
|
||||
var T1 = ((vals.length >= 9 + hasType) ? new stringFloat(vals[8 + hasType], 10) : NaN)
|
||||
var isUnsafe = ((vals.length >= 10 + hasType) ? vals[9 + hasType] === true.toString() : false)
|
||||
var ex = new excitationValue(start, end, type, val, oscilatorForces, T1, isUnsafe);
|
||||
if (this.VertExcitationKind) {
|
||||
|
Loading…
Reference in New Issue
Block a user