diff --git a/markdown/bitburner.bladeburner.getactionestimatedsuccesschance.md b/markdown/bitburner.bladeburner.getactionestimatedsuccesschance.md index 599c59668..14895c357 100644 --- a/markdown/bitburner.bladeburner.getactionestimatedsuccesschance.md +++ b/markdown/bitburner.bladeburner.getactionestimatedsuccesschance.md @@ -34,5 +34,5 @@ Estimated success chance for the specified action. RAM cost: 4 GB -Returns the estimated success chance for the specified action. This chance is returned as a decimal value, NOT a percentage (e.g. if you have an estimated success chance of 80%, then this function will return 0.80, NOT 80). Returns 2 values, value\[0\] - MIN Chance, value\[1\] - MAX Chance +Returns the estimated success chance for the specified action. This chance is returned in the range 0-1. (e.g. if you have an estimated success chance of 80%, then this function will return 0.8, NOT 80). Returns 2 values, value\[0\] - MIN Chance, value\[1\] - MAX Chance diff --git a/markdown/bitburner.gang.getchancetowinclash.md b/markdown/bitburner.gang.getchancetowinclash.md index 604944996..62994f3db 100644 --- a/markdown/bitburner.gang.getchancetowinclash.md +++ b/markdown/bitburner.gang.getchancetowinclash.md @@ -28,5 +28,5 @@ Chance you have to win a clash with the specified gang. RAM cost: 4 GB -Returns the chance you have to win a clash with the specified gang. The chance is returned in decimal form, not percentage +Returns the chance you have to win a clash with the specified gang. The chance is returned in the range 0-1. diff --git a/markdown/bitburner.ns.hackanalyzechance.md b/markdown/bitburner.ns.hackanalyzechance.md index 2ef08b586..10192f4fa 100644 --- a/markdown/bitburner.ns.hackanalyzechance.md +++ b/markdown/bitburner.ns.hackanalyzechance.md @@ -30,7 +30,7 @@ RAM cost: 1 GB Returns the chance you have of successfully hacking the specified server. -This returned value is in decimal form, not percentage. +This returned value is in the range 0-1. Like other basic hacking analysis functions, this calculation uses the current status of the player and server. To calculate using hypothetical server or player status, obtain access to the Formulas API and use [formulas.hacking.hackChance](./bitburner.hackingformulas.hackchance.md). diff --git a/markdown/bitburner.tix.getforecast.md b/markdown/bitburner.tix.getforecast.md index 507980222..a85b72a0d 100644 --- a/markdown/bitburner.tix.getforecast.md +++ b/markdown/bitburner.tix.getforecast.md @@ -26,7 +26,7 @@ Probability that the specified stock’s price will increase (as opposed to decr ## Remarks -RAM cost: 2.5 GB The probability is returned as a decimal value, NOT a percentage (e.g. if a stock has a 60% chance of increasing, then this function will return 0.6, NOT 60). +RAM cost: 2.5 GB The probability is returned in the range 0-1. (e.g. if a stock has a 60% chance of increasing, then this function will return 0.6, NOT 60). In other words, if this function returned 0.30 for a stock, then this means that the stock’s price has a 30% chance of increasing and a 70% chance of decreasing during the next tick. diff --git a/markdown/bitburner.tix.getvolatility.md b/markdown/bitburner.tix.getvolatility.md index 1500e316f..9bee73516 100644 --- a/markdown/bitburner.tix.getvolatility.md +++ b/markdown/bitburner.tix.getvolatility.md @@ -26,7 +26,7 @@ Volatility of the specified stock. ## Remarks -RAM cost: 2.5 GB Volatility represents the maximum percentage by which a stock’s price can change every tick. The volatility is returned as a decimal value, NOT a percentage (e.g. if a stock has a volatility of 3%, then this function will return 0.03, NOT 3). +RAM cost: 2.5 GB Volatility represents the maximum percentage by which a stock’s price can change every tick. The volatility is returned in the range 0-1. (e.g. if a stock has a volatility of 3%, then this function will return 0.03, NOT 3). In order to use this function, you must first purchase access to the Four Sigma (4S) Market Data TIX API. diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index 9dff41ac8..edbbe140c 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -1573,7 +1573,7 @@ export interface TIX { * @remarks * RAM cost: 2.5 GB * Volatility represents the maximum percentage by which a stock’s price can change every tick. - * The volatility is returned as a decimal value, NOT a percentage + * The volatility is returned in the range 0-1. * (e.g. if a stock has a volatility of 3%, then this function will return 0.03, NOT 3). * * In order to use this function, you must first purchase access to the Four Sigma (4S) Market Data TIX API. @@ -1588,7 +1588,7 @@ export interface TIX { * tick. * @remarks * RAM cost: 2.5 GB - * The probability is returned as a decimal value, NOT a percentage + * The probability is returned in the range 0-1. * (e.g. if a stock has a 60% chance of increasing, then this function will return 0.6, NOT 60). * * In other words, if this function returned 0.30 for a stock, then this means that the stock’s price has a @@ -3423,8 +3423,8 @@ export interface Bladeburner { * RAM cost: 4 GB * * Returns the estimated success chance for the specified action. - * This chance is returned as a decimal value, NOT a percentage - * (e.g. if you have an estimated success chance of 80%, then this function will return 0.80, NOT 80). + * This chance is returned in the range 0-1. + * (e.g. if you have an estimated success chance of 80%, then this function will return 0.8, NOT 80). * Returns 2 values, value[0] - MIN Chance, value[1] - MAX Chance * * @param type - Type of action. @@ -4291,7 +4291,7 @@ export interface Gang { * @remarks * RAM cost: 4 GB * - * Returns the chance you have to win a clash with the specified gang. The chance is returned in decimal form, not percentage + * Returns the chance you have to win a clash with the specified gang. The chance is returned in the range 0-1. * * @param gangName - Target gang * @returns Chance you have to win a clash with the specified gang. @@ -6272,7 +6272,7 @@ export interface NS { * * Returns the chance you have of successfully hacking the specified server. * - * This returned value is in decimal form, not percentage. + * This returned value is in the range 0-1. * * Like other basic hacking analysis functions, this calculation uses the current status of the player and server. * To calculate using hypothetical server or player status, obtain access to the Formulas API and use {@link HackingFormulas.hackChance | formulas.hacking.hackChance}.