Im working on a macro in CorelDraw part of which needs to simplify a rotational angle so that it is between 0 and 360 degrees eg. 361.5 is converted to 1.5 and 720.15 would become 0.15
In VBA it seems that the MOD function returns a rounded integer but I would like to keep the fractional part and I can't seem to find how to do this.
What am I missing? Happy to read and learn how to do this but cant seem to find a place to start.
Any advice would be appreciated.
Thanks
nick
In VBA it seems that the MOD function returns a rounded integer but I would like to keep the fractional part and I can't seem to find how to do this.
What am I missing? Happy to read and learn how to do this but cant seem to find a place to start.
Any advice would be appreciated.
Thanks
nick