Rename random decimal to random float (#10320)

# Description
Similar to #9979

# User-Facing Changes
`random decimal` will now raise a warning and can be removed in an
upcoming release.

New command is named `random float`

# Tests + Formatting
Tests updated and improved.
This commit is contained in:
Stefan Holderbach
2023-09-12 13:03:05 +02:00
committed by GitHub
parent 1fb4f9e455
commit d53b0a99d0
7 changed files with 171 additions and 28 deletions

View File

@ -368,6 +368,7 @@ pub fn add_shell_command_context(mut engine_state: EngineState) -> EngineState {
RandomChars,
RandomDecimal,
RandomDice,
RandomFloat,
RandomInteger,
RandomUuid,
};