F>S  ( r -- n )

published: 28 February 2022 / updated 28 February 2022

Lire cette page en français

 

vocabulary: forth

Convert a real to an integer. Leaves the integer part on the data stack if the real has fractional parts.

Example:

3.5e F>S .   \ display 3 

Legal: site web personnel sans commerce / personal site without seling