<?xml version="1.0" encoding="utf-8"?>

<snippet name = "十六进制到十进制" description = "将十六进制数字转换为十进制数字。" preview="code" type="block">

<insertText location="beforeSelection">

<![CDATA[function hexToDec(hex) { return parseInt(hex,16); }

]]>

</insertText>

<insertText location="afterSelection"><![CDATA[]]>

</insertText>

</snippet>

