Round to the nearest 0.5 expression?

Is it possible to round a tag float value to the nearest 0.5?
This doesn’t do the job: round(tagvalue, 0.5)

Example: 6.73 would need to be rounded with the result of 6.5

round(tagvalue * 2) / 2

should do the trick

2 Likes