Numbers Functions

complexConvert or create a complex number from a string or number (built-in).
getstateReturns test (random).
hexReturns the number converted to a hexadecimal string (built-in).
octReturns the number converted to a octal string (built-in).
randbytesReturns test (random).
roundReturns the number rounded to a specific number of decimal places (built-in, numpy).
sampleReturns test (random).
seedReturns test (random).
setstateReturns test (random).
shuffleReturns test (random).
uniformReturns test (random).
complex
Convert or create a complex number from a string or number (built-in).
getstate
Returns test (random).
hex
Returns the number converted to a hexadecimal string (built-in).
oct
Returns the number converted to a octal string (built-in).
randbytes
Returns test (random).
round
Returns the number rounded to a specific number of decimal places (built-in, numpy).
sample
Returns test (random).
seed
Returns test (random).
setstate
Returns test (random).
shuffle
Returns test (random).
uniform
Returns test (random).

© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited Top