Description Usage Arguments Value See Also Examples
is.wholenumber returns whether a value is a whole number.
1 | is.wholenumber(x, tol = .Machine$double.eps^0.5)
|
x |
Data - Element to check whether it is a whole number. |
tol |
Double - Range to determine if the number is a whole number. |
Boolean - true if the input is a whole number, false
otherwise.
Other utils functions: dec_to_hex,
get_network_id, get_post,
get_rpc_address, hex_to_dec,
hex_to_text, process_block,
process_log, process_receipt,
process_transaction,
set_network_id,
set_rpc_address, text_to_hex
1 2 3 | is.wholenumber(20)
is.wholenumber(20.3)
is.wholenumber('no')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.