VBA Oct Function: The Oct function in VBA converts the given number into octal notation and returns the result as a string.

Syntax

Parameter

Number (required) – This parameter represents the numeric value that you want to convert to octal.

Return

This function returns a string value after converting the specified number into octal notation. If the number is a decimal, it will round it to the nearest integer before converting it to octal.

Example 1

Output

2.20E+01

Example 2

Output

4.35E+03

Example 3

Output
{"ft_lang_label":"__label__en","ft_lang_prob":0.5032173,"math_prob":0.97899693,"size":1233,"snap":"2020-45-2020-50","text_gpt3_token_len":371,"char_repetition_ratio":0.14646053,"word_repetition_ratio":0.3004695,"special_character_ratio":0.29602596,"punctuation_ratio":0.08510638,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9861352,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-27T23:09:45Z\",\"WARC-Record-ID\":\"<urn:uuid:0f996341-0890-4aa8-becf-21f533816a2a>\",\"Content-Length\":\"67176\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1fdcc022-b733-4376-9f3a-d0f4fc17854c>\",\"WARC-Concurrent-To\":\"<urn:uuid:e6f74da1-d86e-40e6-8b79-8e243e78a248>\",\"WARC-IP-Address\":\"95.216.94.117\",\"WARC-Target-URI\":\"https://www.tutorialandexample.com/vba-oct-function/\",\"WARC-Payload-Digest\":\"sha1:Z74C6ASB354XDGBLRTJWJ3HCNSC7WK56\",\"WARC-Block-Digest\":\"sha1:IAFQCPZ5ACEW6DUKVNHCNHWN4KTJR2DM\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107894890.32_warc_CC-MAIN-20201027225224-20201028015224-00446.warc.gz\"}"}