---
title: "INT 转 BOOL 值的方法"
author: "eueuy"
date: "2010-06-11T10:06:42Z"
tags: []
categories: ["编程语言"]
slug: "int-bool"
draft: false
lastmod: "2010-06-11T10:06:42Z"
id: 689488
url: "https://qwegqwe.iteye.com/blog/689488"
---

**来自：**[独孤客](http://www.delphibbs.com/delphibbs/dispu.asp?username=%E7%8B%AC%E5%AD%A4%E5%AE%A2), **时间：**2004-8-9 19:10:58, **ID：**2756192

RadioButton1.Checked := StrToBool(IntToStr(-1));  

 

**来自：**[bjaman](http://www.delphibbs.com/delphibbs/dispu.asp?username=bjaman), **时间：**2004-8-9 19:24:14, **ID：**2756214

楼上兄弟正解。如此可以实现非0即true。