mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -04:00
BigNumber Dish types are now converted to fixed notation instead of exponential when translated between types
This commit is contained in:
parent
fa938f832f
commit
82ad8cc444
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ Dish.prototype.translate = function(toType, notUTF8) {
|
||||||
this.value = Array.prototype.slice.call(new Uint8Array(this.value));
|
this.value = Array.prototype.slice.call(new Uint8Array(this.value));
|
||||||
break;
|
break;
|
||||||
case Dish.BIG_NUMBER:
|
case Dish.BIG_NUMBER:
|
||||||
this.value = this.value instanceof BigNumber ? Utils.strToByteArray(this.value.toString()) : [];
|
this.value = this.value instanceof BigNumber ? Utils.strToByteArray(this.value.toFixed()) : [];
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue