{"id":4680,"date":"2014-01-21T07:54:36","date_gmt":"2014-01-20T23:54:36","guid":{"rendered":"http:\/\/www.vbtutor.net\/?page_id=4680"},"modified":"2018-06-24T16:50:33","modified_gmt":"2018-06-24T08:50:33","slug":"visual-basic-2013-lesson-18-the-math-functions","status":"publish","type":"page","link":"https:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-18-the-math-functions\/","title":{"rendered":"Visual Basic 2013 Lesson 18: The Math Functions"},"content":{"rendered":"<h4 style=\"text-align: center;\"><a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-17-function-part-1-user-defined-function\/\">[Lesson 17]<\/a> &lt;&lt; <a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-tutorial\/\">[Contents]<\/a> &gt;&gt;<a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-19-formatting-functions\/\">[Lesson 19]<\/a><\/h4>\n<p>In lesson 11, we have learned how to write codes in Visual Basic 2013 that perform mathematical operations. However, to carry out more complex mathematical calculations, we need to use the built-in math functions in Visual Basic 2013. There are numerous built-in mathematical functions in Visual Basic 2013 that we shall introduce them one by one in this lesson.<\/p>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block; text-align: center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-3033628290023372\" data-ad-slot=\"3914691604\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<h3>18.1 The Abs function<\/h3>\n<p>The Abs function returns the absolute value of a given number.<br \/>\nThe syntax is<\/p>\n<pre style=\"font-size: 110%;\">Math. Abs (number)<\/pre>\n<p>* The Math keyword here indicates that the Abs function belongs to the Math class.<\/p>\n<p><strong>Example 18.1<\/strong><\/p>\n<p>In this example, we add a text box control for the user to input his or her number and a label control to display the absolute value of the number. We use the Val function to convert text to a numeric value. Rename the textbox as TxtNum and the label as LblAbs.<\/p>\n<h4>The Code<\/h4>\n<pre style=\"font-size: 110%;\">Private Sub BtnComp_Click(sender As Object, e As EventArgs) Handles BtnComp.Click\r\n LblAbs.Text = Math.Abs(Val(TxtNum.Text))\r\nEnd Sub\r\n<\/pre>\n<p>The output<\/p>\n<p><a href=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.1.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-4686\" src=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.1.jpg\" alt=\"vb2013_figure18.1\" width=\"70%\" height=\"auto\" \/><\/a><\/p>\n<p style=\"text-align: center;\">\u00a0<strong>Figure 18.1<\/strong><\/p>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block; text-align: center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-3033628290023372\" data-ad-slot=\"3914691604\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<h3><strong>18.2 The Exp function<\/strong><\/h3>\n<p>The Exp function returns the exponential value of a given number. For example, Exp(1)=e=2.71828182<\/p>\n<p>The syntax is<\/p>\n<pre style=\"font-size: 110%;\">Math.Exp (number)<\/pre>\n<h4><strong>\u00a0Example 18.2<\/strong><\/h4>\n<p>In this example, we shall add a text box control for the user to input his or her number and a label control to display the exponential value of the number. Rename the textbox as TxtNum and the label as LblAbs.<\/p>\n<h4><strong>The Code<\/strong><\/h4>\n<pre style=\"font-size: 110%;\">Private Sub BtnComp_Click(sender As Object, e As EventArgs) Handles BtnComp.Click\r\n LblExp.Text = Math.Exp(Val(TxtNum.Text))\r\nEnd Sub\r\n<\/pre>\n<p>The Output<\/p>\n<p><a href=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4690\" src=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.2.jpg\" alt=\"vb2013_figure18.2\" width=\"300\" height=\"300\" \/><\/a><\/p>\n<p style=\"text-align: center;\">\u00a0<strong>Figure 18.2\u00a0<\/strong><\/p>\n<h3 style=\"text-align: left;\"><strong>18.3 The Fix Function<\/strong><\/h3>\n<p style=\"text-align: left;\">The Fix function truncates the decimal part of a positive number and returns the largest integer smaller than the number. However, when the number is negative, it returns the smallest integer larger than the number. Fix does not belong to the Math class, therefore, we do not use the Math keyword.<\/p>\n<h4 style=\"text-align: left;\"><strong>Example 18.3<\/strong><\/h4>\n<pre style=\"font-size: 110%;\">Private Sub BtnComp_Click(sender As Object, e As EventArgs) Handles BtnComp.Click\r\n LblFixNum1.Text = Fix(Val(TxtPosNum.Text))\r\n LblFixNum2.Text = Fix(Val(TxtNegNum.Text))\r\nEnd Sub\r\n<\/pre>\n<p>The Output<\/p>\n<p><a href=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4693\" src=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.3.jpg\" alt=\"vb2013_figure18.3\" width=\"311\" height=\"300\" \/><\/a><\/p>\n<p style=\"text-align: center;\">\u00a0<strong>Figure 18.3<\/strong><\/p>\n<h3><strong>18.4 The Int Function<\/strong><\/h3>\n<p>The Int is a function that converts a number into an integer by truncating its decimal part and the resulting integer is the largest integer that is smaller than the number. For example<\/p>\n<pre style=\"font-size: 110%;\">Int(2.4)=2, Int(6.9)=6 , Int(-5.7)=-6, Int(-99.8)=-100<\/pre>\n<h3><strong>18.5 The Log Function<\/strong><\/h3>\n<p>The Log function is the function that returns the natural logarithm of a number.<\/p>\n<p><strong>Example 18.4<\/strong><\/p>\n<pre style=\"font-size: 110%;\">Private Sub BtnComp_Click(sender As Object, e As EventArgs) Handles BtnComp.Click\r\n LblLog.Text = Math.Log(Val(TxtNum.Text))\r\nEnd Sub\r\n<\/pre>\n<p>The Output<\/p>\n<p><a href=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4701\" src=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.4.jpg\" alt=\"vb2013_figure18.4\" width=\"311\" height=\"300\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><strong>Figure 18.4<\/strong><\/p>\n<h3><strong style=\"font-size: 1.285714286rem; line-height: 1.6;\">18.6 The Rnd( ) Function<\/strong><\/h3>\n<p>We use the Rnd function to write code that involves chance and probability. The Rnd function returns a random value between 0 and 1. Random numbers in their original form are not very useful in programming until we convert them to integers. For example, if we need to obtain a random output of 6 integers ranging from 1 to 6, which makes the program behave like a virtual dice, we can convert the random numbers to integers using the formula Int(Rnd*6)+1.<\/p>\n<h4><strong>Example 18.5<\/strong><\/h4>\n<pre style=\"font-size: 110%;\">Private Sub BtnGen_Click(sender As Object, e As EventArgs) Handles BtnGen.Click\r\n LblRnd.Text = Int(VBMath.Rnd() * 6) + 1\r\nEnd Sub\r\n<\/pre>\n<p>Notice that the Rnd() function belongs to the VBMath class in Visual Basic 2013. This is different from Visual Basic 2012, where you can omit the VBMath keyword.<\/p>\n<p>In this example, Int(VBMath.Rnd*6) will generate a random integer between 0 and 5. The function Int truncates the decimal part of the random number and returns an integer. After adding 1, you will get a random number between 1 and 6 every time you click the command button. For example, let say the random number generated is 0.98, after multiplying it by 6, it becomes 5.88, and using the integer function Int(5.88) will convert the number to 5, and after adding 1 you will get 6.<\/p>\n<h4>The Output<\/h4>\n<p><a href=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4706\" src=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.5.jpg\" alt=\"vb2013_figure18.5\" width=\"300\" height=\"300\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><strong>Figure 18.5<\/strong><\/p>\n<p>*We shall learn \u00a0how to create an animated dice using a Timer control in later lesson<\/p>\n<h3><strong>18.7 The Round Function<\/strong><\/h3>\n<p>The Round function is the function that rounds up a number to a certain number of decimal places. The syntax is<\/p>\n<pre style=\"font-size: 110%;\">Round (n, m)<\/pre>\n<p>which means to round a number n to m decimal places. For example,<\/p>\n<pre style=\"font-size: 110%;\">Math.Round (7.2567, 2) =7.26<\/pre>\n<h4><strong>Example 18.6<\/strong><\/h4>\n<pre style=\"font-size: 110%;\">Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click\r\n Label1.Text = Math.Round(Val(TextBox1.Text), 2)\r\nEnd Sub\r\n<\/pre>\n<p>The Output<\/p>\n<p><a href=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4709\" src=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.6.jpg\" alt=\"vb2013_figure18.6\" width=\"300\" height=\"300\" \/><\/a><\/p>\n<p style=\"text-align: center;\">\u00a0<strong>Figure 18.6<\/strong><\/p>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block;\" data-ad-format=\"autorelaxed\" data-ad-client=\"ca-pub-3033628290023372\" data-ad-slot=\"2306771905\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<h4 style=\"text-align: center;\"><a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-17-function-part-1-user-defined-function\/\">[Lesson 17]<\/a>\u00a0&lt;&lt;\u00a0<a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-tutorial\/\">[Contents]<\/a>\u00a0&gt;&gt;<a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-19-formatting-functions\/\">[Lesson 19]<\/a><\/h4>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[Lesson 17] &lt;&lt; [Contents] &gt;&gt;[Lesson 19] In lesson 11, we have learned how to write codes in Visual Basic 2013 that perform mathematical operations. However, to carry out more complex mathematical calculations, we need to use the built-in math functions in Visual Basic 2013. There are numerous built-in mathematical functions in Visual Basic 2013 that &hellip; <a href=\"https:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-18-the-math-functions\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Visual Basic 2013 Lesson 18: The Math Functions<\/span><\/a><\/p>\n","protected":false},"author":23013,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-4680","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Visual Basic 2013 Lesson 18: The Math Functions - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB<\/title>\n<meta name=\"description\" content=\"This article discusses various Math functions in visual basic 2013\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Visual Basic 2013 Lesson 18: The Math Functions - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\" \/>\n<meta property=\"og:description\" content=\"This article discusses various Math functions in visual basic 2013\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html\" \/>\n<meta property=\"og:site_name\" content=\"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Vbtutor\" \/>\n<meta property=\"article:modified_time\" content=\"2018-06-24T08:50:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.1.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@liewvk\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-18-the-math-functions\/\",\"url\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html\",\"name\":\"Visual Basic 2013 Lesson 18: The Math Functions - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\",\"isPartOf\":{\"@id\":\"https:\/\/www.vbtutor.net\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html#primaryimage\"},\"image\":{\"@id\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.1.jpg\",\"datePublished\":\"2014-01-20T23:54:36+00:00\",\"dateModified\":\"2018-06-24T08:50:33+00:00\",\"description\":\"This article discusses various Math functions in visual basic 2013\",\"breadcrumb\":{\"@id\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html#primaryimage\",\"url\":\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.1.jpg\",\"contentUrl\":\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.1.jpg\",\"width\":300,\"height\":300},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vbtutor.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Visual Basic 2013 Lesson 18: The Math Functions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vbtutor.net\/#website\",\"url\":\"https:\/\/www.vbtutor.net\/\",\"name\":\"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\",\"description\":\"Start learning Visual Basic from beginner to advanced. Includes VB.NET, VBA, and classic VB tutorials for students and professionals.\",\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Visual Basic 2013 Lesson 18: The Math Functions - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","description":"This article discusses various Math functions in visual basic 2013","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html","og_locale":"en_US","og_type":"article","og_title":"Visual Basic 2013 Lesson 18: The Math Functions - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","og_description":"This article discusses various Math functions in visual basic 2013","og_url":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html","og_site_name":"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","article_publisher":"https:\/\/www.facebook.com\/Vbtutor","article_modified_time":"2018-06-24T08:50:33+00:00","og_image":[{"url":"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.1.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@liewvk","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-18-the-math-functions\/","url":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html","name":"Visual Basic 2013 Lesson 18: The Math Functions - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","isPartOf":{"@id":"https:\/\/www.vbtutor.net\/#website"},"primaryImageOfPage":{"@id":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html#primaryimage"},"image":{"@id":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html#primaryimage"},"thumbnailUrl":"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.1.jpg","datePublished":"2014-01-20T23:54:36+00:00","dateModified":"2018-06-24T08:50:33+00:00","description":"This article discusses various Math functions in visual basic 2013","breadcrumb":{"@id":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html#primaryimage","url":"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.1.jpg","contentUrl":"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure18.1.jpg","width":300,"height":300},{"@type":"BreadcrumbList","@id":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson18.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vbtutor.net\/"},{"@type":"ListItem","position":2,"name":"Visual Basic 2013 Lesson 18: The Math Functions"}]},{"@type":"WebSite","@id":"https:\/\/www.vbtutor.net\/#website","url":"https:\/\/www.vbtutor.net\/","name":"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","description":"Start learning Visual Basic from beginner to advanced. Includes VB.NET, VBA, and classic VB tutorials for students and professionals.","inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages\/4680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/users\/23013"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/comments?post=4680"}],"version-history":[{"count":61,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages\/4680\/revisions"}],"predecessor-version":[{"id":13072,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages\/4680\/revisions\/13072"}],"wp:attachment":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/media?parent=4680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/categories?post=4680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/tags?post=4680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}