How the regular expression verifies the type length multiplied by width, which only supports the length multiplication width of two places after the decimal point.

clipboard.png

Mar.29,2021

/ ^\ d + (?:\.\ d {1 answer 2})?\ *\ d + (?::\.\ d {1 answer 2})? $/ try



const regex = /^([1-9]\d*\.\d{2}|0\.\d[1-9])\*([1-9]\d*\.\d{2}|0\.\d[1-9])$/
// 23.40*12.00

const regex = /^([1-9]\d*\.\d{2}|0\.\d{2})\*([1-9]\d*\.\d{2}|0\.\d{2})$/
//// 23.40*12.00
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5a6f2-44deb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5a6f2-44deb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?