Sub inputtaxahora_Changed(value As String)
Dim tempString As String
tempString=value.Replace (".","")
Dim tempval As Double
tempval=tempString/100
Dim decimalplaces As String = ""
If tempval <> user.taxahora Then
Dim input As ABMInput = page.Component("inputtaxahora")
tempString = tempval
If tempString.IndexOf(".")>0 Then
If (tempString.Length - tempString.IndexOf(".")) = 2 Then
decimalplaces = "0"
End If
Else
decimalplaces = ".00"
End If
input.Text=tempval & decimalplaces
user.taxahora = tempval & decimalplaces
input.Refresh
End If
End Sub