powered by
is.wholenumber returns whether a value is a whole number.
is.wholenumber
is.wholenumber(x, tol = .Machine$double.eps^0.5)
Data - Element to check whether it is a whole number.
Double - Range to determine if the number is a whole number.
Boolean - true if the input is a whole number, false otherwise.
true
false
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
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
# NOT RUN { is.wholenumber(20) is.wholenumber(20.3) is.wholenumber('no') # }
Run the code above in your browser using DataLab