<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cast functions on Hugo</title><link>https://v0-122-0--gohugoio.netlify.app/functions/cast/</link><description>Recent content in Cast functions on Hugo</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="https://v0-122-0--gohugoio.netlify.app/functions/cast/index.xml" rel="self" type="application/rss+xml"/><item><title>cast.ToFloat</title><link>https://v0-122-0--gohugoio.netlify.app/functions/cast/tofloat/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v0-122-0--gohugoio.netlify.app/functions/cast/tofloat/</guid><description>With a decimal (base 10) input:
{{ float 11 }} → 11 (float64) {{ float &amp;#34;11&amp;#34; }} → 11 (float64) {{ float 11.1 }} → 11.1 (float64) {{ float &amp;#34;11.1&amp;#34; }} → 11.1 (float64) {{ float 11.9 }} → 11.9 (float64) {{ float &amp;#34;11.9&amp;#34; }} → 11.9 (float64) With a binary (base 2) input:
{{ float 0b11 }} → 3 (float64) With an octal (base 8) input (use either notation):</description></item><item><title>cast.ToInt</title><link>https://v0-122-0--gohugoio.netlify.app/functions/cast/toint/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v0-122-0--gohugoio.netlify.app/functions/cast/toint/</guid><description>With a decimal (base 10) input:
{{ int 11 }} → 11 (int) {{ int &amp;#34;11&amp;#34; }} → 11 (int) {{ int 11.1 }} → 11 (int) {{ int 11.9 }} → 11 (int) With a binary (base 2) input:
{{ int 0b11 }} → 3 (int) {{ int &amp;#34;0b11&amp;#34; }} → 3 (int) With an octal (base 8) input (use either notation):
{{ int 011 }} → 9 (int) {{ int &amp;#34;011&amp;#34; }} → 9 (int) {{ int 0o11 }} → 9 (int) {{ int &amp;#34;0o11&amp;#34; }} → 9 (int) With a hexadecimal (base 16) input:</description></item><item><title>cast.ToString</title><link>https://v0-122-0--gohugoio.netlify.app/functions/cast/tostring/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v0-122-0--gohugoio.netlify.app/functions/cast/tostring/</guid><description>With a decimal (base 10) input:
{{ string 11 }} → 11 (string) {{ string &amp;#34;11&amp;#34; }} → 11 (string) {{ string 11.1 }} → 11.1 (string) {{ string &amp;#34;11.1&amp;#34; }} → 11.1 (string) {{ string 11.9 }} → 11.9 (string) {{ string &amp;#34;11.9&amp;#34; }} → 11.9 (string) With a binary (base 2) input:
{{ string 0b11 }} → 3 (string) {{ string &amp;#34;0b11&amp;#34; }} → 0b11 (string) With an octal (base 8) input (use either notation):</description></item></channel></rss>