Input type number, decimal value

How to verify if an input type number contain maximum 3 decimal, without using regex

let x = 1.5555
let y = 1.55
x is false
y is true

133 thoughts on “Input type number, decimal value”

  1. My programmer is trying to convince me to move to .net from PHP.
    I have always disliked the idea because of the costs.
    But he’s tryiong none the less. I’ve been using Movable-type on numerous websites for about a
    year and am concerned about switching to another platform.
    I have heard very good things about
    Is there a way I can import all my wordpress content into it?
    Any kind of help would be really appreciated!


Leave a Comment