Update truncate.bm

This commit is contained in:
visionmercer 2022-05-18 08:36:00 +02:00 committed by GitHub
commit 98533f0dc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,3 @@
FUNCTION Truncate (value) Function Truncate~%% (value&)
Truncate = (value > 0) * (((value < 256) * value) + ((value > 255) * 255)) Truncate~%% = (value& > 0) * (((value& < 256) * value&) + ((value& > 255) * 255))
END FUNCTION End Function