Expression to remove decimal places from a slider animation

/**
* The following expression will remove any decimal points
* that may appear from a slider animation
*/
Math.floor(effect("Slider Control")("Slider"));

Example usage:

/**
* The following expression turns a slider value into a whole percentage
* 
* Apply the following to the Source Text value of a text layer
* Make sure the text layer has a Slider Control effect applied
**/
var rounded_val = Math.floor(effect("Slider Control")("Slider"));
rounded_val +"%";