Skip to content
Mehdi Kababfrontend / author
⁠All posts

#convertir

Converting formats and types in Bash, PHP and TextMate (4 posts).

2010

4 posts

  1. Bash: convert a string to an integer

    Bash can’t convert a float to an integer, but printf handles it just fine: here is a small shell function that does the job.