[expr] function available since [Tcl] 8.5: Converts a number to ''some'' integral type ([int], [wide] or [bignum]). The name of this function is derived from French, via ALGOL. ---- [LV] So, this is functionally similar to a cast? What happens when the number being entiered doesn't fit into the size type? A bignum being ''cast'' into an int, for instance? ''[escargo] 29 Nov 2006'' - It's more like the '''round''' function. I think the point is that however big the number might be, it will pick the smallest integral type that will hold it. See TIP 237 for full details. ---- [Category Glossary] | [Category Command]