mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-27 01:19:52 -04:00
FIX: fixed math errors that broke search
This commit is contained in:
parent
4462dd9fcb
commit
300c08ffaa
1038
DynamicBibleUtility/.vs/config/applicationhost.config
Normal file
1038
DynamicBibleUtility/.vs/config/applicationhost.config
Normal file
File diff suppressed because it is too large
Load Diff
@ -392,7 +392,7 @@ var Words = (function () {
|
|||||||
// convert the references back into book, chapter and verse.
|
// convert the references back into book, chapter and verse.
|
||||||
for (var i = 0; i < result.length; i++) {
|
for (var i = 0; i < result.length; i++) {
|
||||||
var ref = result[i];
|
var ref = result[i];
|
||||||
result[i] = (ref / 100000000) + ":" + ((ref % 100000000) / 10000) + ":" + ((ref % 100000000) % 10000);
|
result[i] = Math.floor(ref / 100000000) + ":" + Math.floor((ref % 100000000) / 10000) + ":" + Math.floor((ref % 100000000) % 10000);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
@ -405,7 +405,7 @@ class Words {
|
|||||||
// convert the references back into book, chapter and verse.
|
// convert the references back into book, chapter and verse.
|
||||||
for (let i = 0; i < result.length; i++) {
|
for (let i = 0; i < result.length; i++) {
|
||||||
let ref = result[i];
|
let ref = result[i];
|
||||||
result[i] = (ref / 100000000) + ":" + ((ref % 100000000) / 10000) + ":" + ((ref % 100000000) % 10000);
|
result[i] = Math.floor(ref / 100000000) + ":" + Math.floor((ref % 100000000) / 10000) + ":" + Math.floor((ref % 100000000) % 10000);
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user