﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » Decimal separator</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sat, 19 Sep 2026 00:00:48 GMT</lastBuildDate><ttl>20</ttl><item><title>Decimal separator</title><link>https://forums.millisecond.com/Topic15208.aspx</link><description>I want to constrain the participant input in a textbox to positive integers or zero, and use a corresponding mask "positiveintegerorzero."&lt;br/&gt;However, it does not work if one uses a comma as a decimal separator (as people here in Europe do), and inputs such as 0,500 are happily accepted.&lt;br/&gt;This is not a major problem, but if anyone knows a quick solution (to use a regular expression?), I'd like to see it.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 16 Dec 2014 05:51:24 GMT</pubDate><dc:creator>teilai</dc:creator></item><item><title>RE: Decimal separator</title><link>https://forums.millisecond.com/Topic15212.aspx</link><description>Yes, a regular expression in the /mask attribute should do the trick:&lt;br/&gt;&lt;br/&gt;/ mask = ^[0-9]+$&lt;br/&gt;</description><pubDate>Tue, 16 Dec 2014 05:51:24 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>