string: "0.0" to intgerger in java code example Example: conversion of string to integer in java Integer.parseInt(str);